Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001202, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001215/0.001215, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2931/0.2931, allocations: 38.03 MB / 308.4 MB, free: 10.35 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005561, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.108, allocations: 57.53 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.1961/0.3041, allocations: 24.22 MB / 458.2 MB, free: 33.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3184, allocations: 14.76 MB / 472.9 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.3189, allocations: 10.78 kB / 472.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.3196, allocations: 274.5 kB / 473.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007/0.3266, allocations: 2.954 MB / 476.1 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007267/0.3339, allocations: 2.996 MB / 479.1 MB, free: 30.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008643/0.3347, allocations: 0.6051 MB / 479.8 MB, free: 30.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.3351, allocations: 242.7 kB / 480 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.3357, allocations: 433 kB / 480.4 MB, free: 30.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.336, allocations: 223.8 kB / 480.6 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.336, allocations: 21.28 kB / 480.7 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.3475, allocations: 7.171 MB / 487.8 MB, free: 28.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.3476, allocations: 86.47 kB / 487.9 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.3479, allocations: 121 kB / 488 MB, free: 28.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005308/0.3532, allocations: 3.061 MB / 491.1 MB, free: 28.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3532, allocations: 0 / 491.1 MB, free: 28.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3532, allocations: 0 / 491.1 MB, free: 28.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3532, allocations: 4 kB / 491.1 MB, free: 28.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003067/0.3563, allocations: 1.242 MB / 492.3 MB, free: 27.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3563, allocations: 8.844 kB / 492.3 MB, free: 27.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.3581, allocations: 234.1 kB / 492.6 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.3586, allocations: 390.8 kB / 492.9 MB, free: 27.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.3586, allocations: 33.56 kB / 493 MB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.3587, allocations: 33.41 kB / 493 MB, free: 27.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.3602, allocations: 0.6302 MB / 493.6 MB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3602, allocations: 0 / 493.6 MB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.3603, allocations: 26.27 kB / 493.7 MB, free: 26.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3603, allocations: 9.688 kB / 493.7 MB, free: 26.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.3618, allocations: 0.5907 MB / 494.3 MB, free: 26.66 MB / 382.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.002829/0.3646, allocations: 2.754 MB / 497 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.3666, allocations: 0.5881 MB / 497.6 MB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04656/0.4132, allocations: 24.42 MB / 0.5098 GB, free: 23.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4133, allocations: 38 kB / 0.5098 GB, free: 23.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.4133, allocations: 0 / 0.5098 GB, free: 23.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002628/0.4159, allocations: 0.8551 MB / 0.5107 GB, free: 22.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.416, allocations: 114.8 kB / 0.5108 GB, free: 22.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.4164, allocations: 381.3 kB / 0.5111 GB, free: 22.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.4165, allocations: 31.7 kB / 0.5112 GB, free: 22.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.4166, allocations: 234.6 kB / 0.5114 GB, free: 22.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.4167, allocations: 98.58 kB / 0.5115 GB, free: 21.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.4167, allocations: 5.125 kB / 0.5115 GB, free: 21.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4168, allocations: 356.8 kB / 0.5118 GB, free: 21.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.4172, allocations: 159.9 kB / 0.512 GB, free: 21.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.4176, allocations: 285.6 kB / 0.5123 GB, free: 21.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.418, allocations: 192.6 kB / 0.5124 GB, free: 21.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.418, allocations: 2.438 kB / 0.5124 GB, free: 21.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009211/0.4189, allocations: 0.5047 MB / 0.5129 GB, free: 20.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.4194, allocations: 1.396 MB / 0.5143 GB, free: 19.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.4194, allocations: 9.5 kB / 0.5143 GB, free: 19.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4194, allocations: 10.34 kB / 0.5143 GB, free: 19.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.4199, allocations: 101.3 kB / 0.5144 GB, free: 19.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4199, allocations: 9.312 kB / 0.5144 GB, free: 19.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.4203, allocations: 80.05 kB / 0.5145 GB, free: 19.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.4203, allocations: 17.5 kB / 0.5145 GB, free: 19.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/0.4203, allocations: 4.094 kB / 0.5145 GB, free: 19.36 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008298/0.4212, allocations: 443.3 kB / 0.5149 GB, free: 19.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4212, allocations: 2.906 kB / 0.5149 GB, free: 19.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.4212, allocations: 10.42 kB / 0.515 GB, free: 19.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.4216, allocations: 111.9 kB / 0.5151 GB, free: 19.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4216, allocations: 9.656 kB / 0.5151 GB, free: 19.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.4219, allocations: 67.03 kB / 0.5151 GB, free: 19.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4219, allocations: 22.89 kB / 0.5152 GB, free: 19.08 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.4222, allocations: 244.5 kB / 0.5154 GB, free: 18.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.4223, allocations: 43.53 kB / 0.5154 GB, free: 18.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.4243, allocations: 1.976 MB / 0.5174 GB, free: 17.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.4244, allocations: 40.64 kB / 0.5174 GB, free: 17.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4244, allocations: 0 / 0.5174 GB, free: 17.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4244, allocations: 1.188 kB / 0.5174 GB, free: 17.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008935/0.4253, allocations: 1.062 MB / 0.5184 GB, free: 16.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4253, allocations: 2.406 kB / 0.5184 GB, free: 16.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.4256, allocations: 88.69 kB / 0.5185 GB, free: 16.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4256, allocations: 3.25 kB / 0.5185 GB, free: 16.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.4257, allocations: 11.17 kB / 0.5185 GB, free: 16.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4257, allocations: 0 / 0.5185 GB, free: 16.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4257, allocations: 6.547 kB / 0.5185 GB, free: 16.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4268, allocations: 1.131 MB / 0.5197 GB, free: 16.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.4271, allocations: 277.9 kB / 0.5199 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.4272, allocations: 6.844 kB / 0.5199 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.4275, allocations: 38.41 kB / 0.52 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.4276, allocations: 38.5 kB / 0.52 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.4276, allocations: 16.95 kB / 0.52 GB, free: 15.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003704/0.428, allocations: 377.8 kB / 0.5204 GB, free: 15.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.428, allocations: 0 / 0.5204 GB, free: 15.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003588/0.4316, allocations: 1.135 MB / 0.5215 GB, free: 15.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004023/0.4356, allocations: 1.219 MB / 0.5227 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.4371, allocations: 0.89 MB / 0.5235 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4371, allocations: 4 kB / 0.5235 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.4377, allocations: 0.5255 MB / 0.5241 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4388, allocations: 222 kB / 0.5243 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4407, allocations: 2.024 MB / 0.5262 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.4411, allocations: 1.007 MB / 0.5272 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008621/0.442, allocations: 0.605 MB / 0.5278 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.4421, allocations: 51.42 kB / 0.5279 GB, free: 9.215 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4422, allocations: 3.938 kB / 0.5279 GB, free: 9.211 MB / 398.1 MB Notification: Performance of Templates: time 0.05293/0.4951, allocations: 40.7 MB / 0.5676 GB, free: 0.5 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) Environment - environmentSimulation: