Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004552/0.004552, allocations: 0.5507 MB / 291.6 MB, free: 1.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 4 kB / 352.7 MB, free: 2.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 50.58 MB / 403.3 MB, free: 216 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.5018/0.6402, allocations: 163.7 MB / 0.5537 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005189/0.6455, allocations: 3.153 MB / 0.5568 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.6461, allocations: 27.75 kB / 0.5568 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008997/0.647, allocations: 333.9 kB / 0.5571 GB, free: 384 kB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.2671/0.9141, allocations: 1.366 MB / 0.5584 GB, free: 5.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.9172, allocations: 0.8728 MB / 0.5593 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006241/0.9235, allocations: 2.864 MB / 0.5621 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.9259, allocations: 0.4935 MB / 0.5626 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003279/0.9292, allocations: 0.8705 MB / 0.5634 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.9316, allocations: 0.7384 MB / 0.5641 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.9319, allocations: 44.48 kB / 0.5642 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.9349, allocations: 0.6769 MB / 0.5648 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.9355, allocations: 284.8 kB / 0.5651 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.9365, allocations: 196.7 kB / 0.5653 GB, free: 21.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.9389, allocations: 1.182 MB / 0.5665 GB, free: 21.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9389, allocations: 0 / 0.5665 GB, free: 21.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.9389, allocations: 5.156 kB / 0.5665 GB, free: 21.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.939, allocations: 0 / 0.5665 GB, free: 21.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002371/0.9413, allocations: 1.115 MB / 0.5675 GB, free: 20.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.9414, allocations: 9.344 kB / 0.5676 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.9425, allocations: 171.1 kB / 0.5677 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.9434, allocations: 0.5395 MB / 0.5682 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.9436, allocations: 184.8 kB / 0.5684 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.9438, allocations: 68.59 kB / 0.5685 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.9453, allocations: 1.08 MB / 0.5695 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.9454, allocations: 5.938 kB / 0.5695 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.9455, allocations: 35 kB / 0.5696 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/0.9456, allocations: 38.56 kB / 0.5696 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.947, allocations: 0.7763 MB / 0.5704 GB, free: 19.66 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005959/0.953, allocations: 5.715 MB / 0.576 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.9537, allocations: 389.3 kB / 0.5763 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.9541, allocations: 219.4 kB / 0.5765 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.9543, allocations: 261.2 kB / 0.5768 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.9544, allocations: 42.92 kB / 0.5768 GB, free: 15.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.9544, allocations: 0 / 0.5768 GB, free: 15.32 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009366/0.9637, allocations: 3.033 MB / 0.5798 GB, free: 14.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.9639, allocations: 111.4 kB / 0.5799 GB, free: 14.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.965, allocations: 0.673 MB / 0.5806 GB, free: 14.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.9652, allocations: 34.89 kB / 0.5806 GB, free: 14.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.9656, allocations: 465 kB / 0.581 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.9659, allocations: 203 kB / 0.5812 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.966, allocations: 26.16 kB / 0.5812 GB, free: 13.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003286/0.9663, allocations: 384.8 kB / 0.5816 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.967, allocations: 278.9 kB / 0.5819 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.9679, allocations: 0.7641 MB / 0.5826 GB, free: 13 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/0.9806, allocations: 2.733 MB / 0.5853 GB, free: 12.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.244e-05/0.9807, allocations: 6.891 kB / 0.5853 GB, free: 12.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00344/0.9841, allocations: 1.277 MB / 0.5865 GB, free: 12.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.9842, allocations: 11.69 kB / 0.5866 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/0.9842, allocations: 18.62 kB / 0.5866 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.9853, allocations: 286.4 kB / 0.5868 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.986, allocations: 218.4 kB / 0.5871 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009486/0.9869, allocations: 0.9089 MB / 0.5879 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.988, allocations: 59.59 kB / 0.588 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.9882, allocations: 100.1 kB / 0.5881 GB, free: 12.14 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007244/0.989, allocations: 299.8 kB / 0.5884 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003942/0.9894, allocations: 79.94 kB / 0.5885 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.9918, allocations: 1.21 MB / 0.5896 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.9918, allocations: 6.219 kB / 0.5896 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9918, allocations: 0 / 0.5896 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.9918, allocations: 9.953 kB / 0.5897 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.995, allocations: 1.978 MB / 0.5916 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.995, allocations: 0 / 0.5916 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.9953, allocations: 91.73 kB / 0.5917 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.9967, allocations: 298.5 kB / 0.592 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.9967, allocations: 32.56 kB / 0.592 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008397/0.9976, allocations: 0.8458 MB / 0.5928 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.9976, allocations: 3.938 kB / 0.5928 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.9994, allocations: 1.131 MB / 0.5939 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.9999, allocations: 226.3 kB / 0.5941 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/1, allocations: 13.89 kB / 0.5942 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/1.001, allocations: 40.72 kB / 0.5942 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/1.001, allocations: 55.91 kB / 0.5942 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.001, allocations: 63.08 kB / 0.5943 GB, free: 10.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005222/1.001, allocations: 457.5 kB / 0.5947 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.002e-06/1.001, allocations: 0 / 0.5947 GB, free: 10.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001354/1.003, allocations: 349.6 kB / 0.5951 GB, free: 10 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009901/1.004, allocations: 383.6 kB / 0.5954 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/1.005, allocations: 0.7688 MB / 0.5962 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.005, allocations: 0 / 0.5962 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/1.006, allocations: 343.5 kB / 0.5965 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.008, allocations: 390 kB / 0.5969 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/1.01, allocations: 1.929 MB / 0.5988 GB, free: 8.852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/1.011, allocations: 0.9835 MB / 0.5997 GB, free: 8.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00152/1.012, allocations: 0.581 MB / 0.6003 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/1.013, allocations: 131.1 kB / 0.6004 GB, free: 8.012 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/1.013, allocations: 0 / 0.6004 GB, free: 8.012 MB / 446.1 MB Notification: Performance of Templates: time 0.03166/1.044, allocations: 19.25 MB / 0.6192 GB, free: 11.22 MB / 462.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)