Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005671/0.005671, allocations: 177.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.423/1.423, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001469/0.001469, allocations: 120.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1822/0.1822, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 10.31 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.383/6.491, allocations: 2.635 GB / 3.085 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/6.491, allocations: 85.03 kB / 3.085 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8432/7.334, allocations: 236.3 MB / 3.316 GB, free: 64.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/7.335, allocations: 0 / 3.316 GB, free: 64.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.63e-05/7.335, allocations: 15.53 kB / 3.316 GB, free: 64.93 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00695/7.342, allocations: 1.347 MB / 3.317 GB, free: 64.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/7.342, allocations: 11.56 kB / 3.317 GB, free: 64.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/7.344, allocations: 261.6 kB / 3.318 GB, free: 64.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/7.345, allocations: 434.2 kB / 3.318 GB, free: 63.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/7.345, allocations: 31.94 kB / 3.318 GB, free: 63.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/7.345, allocations: 34.03 kB / 3.318 GB, free: 63.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/7.347, allocations: 0.6652 MB / 3.319 GB, free: 63.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/7.347, allocations: 6.469 kB / 3.319 GB, free: 63.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/7.347, allocations: 15.91 kB / 3.319 GB, free: 63.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/7.347, allocations: 10.78 kB / 3.319 GB, free: 63.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/7.349, allocations: 0.6476 MB / 3.319 GB, free: 63.24 MB / 490.7 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.003504/7.353, allocations: 2.762 MB / 3.322 GB, free: 60.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/7.355, allocations: 0.4966 MB / 3.323 GB, free: 60.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09321/7.448, allocations: 51.5 MB / 3.373 GB, free: 5.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/7.448, allocations: 34.56 kB / 3.373 GB, free: 5.137 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.605e-06/7.448, allocations: 0 / 3.373 GB, free: 5.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002993/7.451, allocations: 0.8647 MB / 3.374 GB, free: 4.266 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/7.451, allocations: 106.8 kB / 3.374 GB, free: 4.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/7.451, allocations: 312.7 kB / 3.374 GB, free: 3.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/7.451, allocations: 33.7 kB / 3.374 GB, free: 3.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/7.452, allocations: 235.8 kB / 3.374 GB, free: 3.555 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/7.452, allocations: 94.66 kB / 3.374 GB, free: 3.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/7.452, allocations: 8 kB / 3.374 GB, free: 3.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/7.452, allocations: 346.8 kB / 3.375 GB, free: 3.109 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/7.452, allocations: 175.9 kB / 3.375 GB, free: 2.938 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/7.453, allocations: 312.5 kB / 3.375 GB, free: 2.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/7.453, allocations: 213 kB / 3.375 GB, free: 2.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/7.453, allocations: 0 / 3.375 GB, free: 2.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00116/7.455, allocations: 0.5292 MB / 3.376 GB, free: 1.832 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/7.455, allocations: 1.486 MB / 3.377 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/7.455, allocations: 4 kB / 3.377 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/7.455, allocations: 19.86 kB / 3.377 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/7.455, allocations: 119.8 kB / 3.378 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/7.455, allocations: 8 kB / 3.378 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2954/7.751, allocations: 83.62 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/7.751, allocations: 21.41 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/7.751, allocations: 3.719 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/7.752, allocations: 478.5 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/7.752, allocations: 3.875 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/7.752, allocations: 7.188 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/7.753, allocations: 121.8 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/7.753, allocations: 9.031 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/7.754, allocations: 77.56 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/7.754, allocations: 21.33 kB / 3.378 GB, free: 78.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0002982/7.754, allocations: 244.7 kB / 3.379 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/7.754, allocations: 40.91 kB / 3.379 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/7.757, allocations: 1.989 MB / 3.381 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.146e-05/7.757, allocations: 32.25 kB / 3.381 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.757, allocations: 0.7969 kB / 3.381 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/7.757, allocations: 2.266 kB / 3.381 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/7.758, allocations: 1.026 MB / 3.382 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/7.759, allocations: 0 / 3.382 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/7.759, allocations: 96.95 kB / 3.382 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/7.759, allocations: 3.906 kB / 3.382 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/7.759, allocations: 10 kB / 3.382 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/7.759, allocations: 4.938 kB / 3.382 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/7.759, allocations: 0 / 3.382 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/7.761, allocations: 1.149 MB / 3.383 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/7.762, allocations: 250.7 kB / 3.383 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/7.762, allocations: 8.109 kB / 3.383 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/7.762, allocations: 56.47 kB / 3.383 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/7.762, allocations: 31.14 kB / 3.383 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/7.762, allocations: 12.38 kB / 3.383 GB, free: 77.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000454/7.763, allocations: 311.5 kB / 3.383 GB, free: 77.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/7.763, allocations: 0 / 3.383 GB, free: 77.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00716/7.77, allocations: 1.157 MB / 3.385 GB, free: 77.81 MB / 490.7 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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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 (38): * Single equations (assignments): 29 * 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.008618/7.778, allocations: 1.439 MB / 3.386 GB, free: 77.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002684/7.781, allocations: 0.9163 MB / 3.387 GB, free: 77.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/7.781, allocations: 3.938 kB / 3.387 GB, free: 77.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009556/7.782, allocations: 0.5432 MB / 3.387 GB, free: 77.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/7.783, allocations: 191.6 kB / 3.388 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1356/7.919, allocations: 77.22 MB / 3.463 GB, free: 74.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/7.919, allocations: 1.002 MB / 3.464 GB, free: 74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009173/7.92, allocations: 0.5262 MB / 3.465 GB, free: 73.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/7.921, allocations: 43.83 kB / 3.465 GB, free: 73.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/7.921, allocations: 3.281 kB / 3.465 GB, free: 73.98 MB / 490.7 MB Notification: Performance of Templates: time 0.04209/7.963, allocations: 32.18 MB / 3.496 GB, free: 61.47 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1)