Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001764/0.001764, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.604/1.604, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001657/0.001656, allocations: 111.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1998/0.1998, allocations: 37.98 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.84e-05, allocations: 2.062 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.505/6.617, allocations: 2.523 GB / 2.913 GB, free: 117.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/6.618, allocations: 88.3 kB / 2.913 GB, free: 117.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8846/7.502, allocations: 228.4 MB / 3.136 GB, free: 61.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/7.503, allocations: 0 / 3.136 GB, free: 61.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.969e-05/7.503, allocations: 7.75 kB / 3.136 GB, free: 61.5 MB / 426.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.005993/7.509, allocations: 1.287 MB / 3.137 GB, free: 60.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/7.509, allocations: 9.781 kB / 3.137 GB, free: 60.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/7.511, allocations: 244.5 kB / 3.138 GB, free: 60.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/7.512, allocations: 424.1 kB / 3.138 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/7.512, allocations: 18.16 kB / 3.138 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/7.512, allocations: 16.81 kB / 3.138 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006567/7.513, allocations: 353 kB / 3.138 GB, free: 60.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/7.513, allocations: 418.4 kB / 3.139 GB, free: 60.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/7.514, allocations: 0 / 3.139 GB, free: 60.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/7.514, allocations: 7.766 kB / 3.139 GB, free: 60.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/7.514, allocations: 7.875 kB / 3.139 GB, free: 60.01 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006122/7.52, allocations: 4.09 MB / 3.143 GB, free: 56.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/7.52, allocations: 247.9 kB / 3.143 GB, free: 56.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/7.52, allocations: 129 kB / 3.143 GB, free: 56.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1053/7.626, allocations: 50.31 MB / 3.192 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/7.626, allocations: 46.36 kB / 3.192 GB, free: 25.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.226e-06/7.626, allocations: 0 / 3.192 GB, free: 25.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002275/7.628, allocations: 0.549 MB / 3.193 GB, free: 25.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/7.628, allocations: 110.8 kB / 3.193 GB, free: 25.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/7.629, allocations: 280.8 kB / 3.193 GB, free: 25.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/7.629, allocations: 25.7 kB / 3.193 GB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/7.629, allocations: 246.4 kB / 3.193 GB, free: 24.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/7.629, allocations: 82.47 kB / 3.194 GB, free: 24.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/7.629, allocations: 0 / 3.194 GB, free: 24.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/7.629, allocations: 344.6 kB / 3.194 GB, free: 24.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/7.629, allocations: 103.3 kB / 3.194 GB, free: 24.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/7.629, allocations: 226.9 kB / 3.194 GB, free: 24.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/7.63, allocations: 209.9 kB / 3.194 GB, free: 23.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/7.63, allocations: 0 / 3.194 GB, free: 23.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001203/7.632, allocations: 451.2 kB / 3.195 GB, free: 23.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000394/7.632, allocations: 1.486 MB / 3.196 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/7.632, allocations: 4 kB / 3.196 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/7.632, allocations: 4 kB / 3.196 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/7.633, allocations: 130.3 kB / 3.196 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/7.633, allocations: 7.953 kB / 3.196 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/7.633, allocations: 78.08 kB / 3.196 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/7.633, allocations: 20 kB / 3.196 GB, free: 21.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/7.633, allocations: 7.938 kB / 3.196 GB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009178/7.634, allocations: 349.1 kB / 3.197 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/7.634, allocations: 7.609 kB / 3.197 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/7.634, allocations: 4 kB / 3.197 GB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/7.635, allocations: 122.9 kB / 3.197 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/7.635, allocations: 15.81 kB / 3.197 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/7.635, allocations: 71.23 kB / 3.197 GB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/7.635, allocations: 20 kB / 3.197 GB, free: 21.23 MB / 426.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 () * 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.0001347/7.635, allocations: 120.6 kB / 3.197 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/7.635, allocations: 39.53 kB / 3.197 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/7.638, allocations: 1.689 MB / 3.199 GB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/7.638, allocations: 26.78 kB / 3.199 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/7.638, allocations: 3.797 kB / 3.199 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/7.638, allocations: 0 / 3.199 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/7.639, allocations: 0.8522 MB / 3.2 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/7.639, allocations: 0 / 3.2 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/7.639, allocations: 99.02 kB / 3.2 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/7.639, allocations: 3.953 kB / 3.2 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/7.639, allocations: 4 kB / 3.2 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/7.639, allocations: 0 / 3.2 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/7.639, allocations: 0 / 3.2 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/7.64, allocations: 0.9581 MB / 3.201 GB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/7.641, allocations: 249.4 kB / 3.201 GB, free: 17.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/7.641, allocations: 3.953 kB / 3.201 GB, free: 17.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/7.641, allocations: 55.47 kB / 3.201 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/7.641, allocations: 35.33 kB / 3.201 GB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/7.641, allocations: 11.89 kB / 3.201 GB, free: 17.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003081/7.642, allocations: 285 kB / 3.201 GB, free: 17.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/7.642, allocations: 3.938 kB / 3.201 GB, free: 17.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006087/7.648, allocations: 1.13 MB / 3.202 GB, free: 16.14 MB / 426.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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01103/7.659, allocations: 1.492 MB / 3.204 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/7.661, allocations: 0.6531 MB / 3.205 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/7.661, allocations: 3.938 kB / 3.205 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005668/7.661, allocations: 427.8 kB / 3.205 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/7.663, allocations: 189.3 kB / 3.205 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3916/8.054, allocations: 54.4 MB / 3.258 GB, free: 69.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/8.055, allocations: 0.9854 MB / 3.259 GB, free: 68.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009182/8.056, allocations: 0.5412 MB / 3.26 GB, free: 68.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/8.056, allocations: 41.47 kB / 3.26 GB, free: 68.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/8.056, allocations: 0 / 3.26 GB, free: 68.96 MB / 442.7 MB Notification: Performance of Templates: time 0.03921/8.095, allocations: 29.31 MB / 3.288 GB, free: 67.86 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1)