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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007757/0.0007757, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004711/0.004711, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.277/0.277, allocations: 38.04 MB / 308.8 MB, free: 10.37 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.0005365/0.0005365, allocations: 19.98 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09882, allocations: 57.51 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.1856/0.2845, allocations: 28.82 MB / 463.4 MB, free: 34.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.3032, allocations: 18.06 MB / 481.4 MB, free: 29.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00082/0.3041, allocations: 18.09 kB / 481.5 MB, free: 29.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.305, allocations: 222.5 kB / 481.7 MB, free: 29.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.3155, allocations: 3.032 MB / 484.7 MB, free: 28.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005814/0.3213, allocations: 2.219 MB / 486.9 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.3225, allocations: 1.236 MB / 488.2 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.3229, allocations: 247.8 kB / 488.4 MB, free: 26.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007283/0.3236, allocations: 427.3 kB / 488.8 MB, free: 26.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.324, allocations: 307.6 kB / 489.1 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.3241, allocations: 19.19 kB / 489.1 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.3357, allocations: 7.287 MB / 496.4 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.3359, allocations: 99.27 kB / 496.5 MB, free: 24.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.3363, allocations: 256.6 kB / 496.8 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3468, allocations: 4.555 MB / 0.4896 GB, free: 22.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3469, allocations: 0 / 0.4896 GB, free: 22.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3469, allocations: 3.938 kB / 0.4896 GB, free: 22.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.3469, allocations: 4 kB / 0.4896 GB, free: 22.77 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.005443/0.3524, allocations: 1.26 MB / 0.4908 GB, free: 21.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3524, allocations: 10.62 kB / 0.4908 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.3544, allocations: 237.4 kB / 0.4911 GB, free: 21.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.3549, allocations: 395.4 kB / 0.4914 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.355, allocations: 36.31 kB / 0.4915 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.3551, allocations: 35.16 kB / 0.4915 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3569, allocations: 0.6744 MB / 0.4922 GB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3569, allocations: 1.188 kB / 0.4922 GB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.357, allocations: 21.05 kB / 0.4922 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.357, allocations: 8.75 kB / 0.4922 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.359, allocations: 0.6562 MB / 0.4928 GB, free: 21.13 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.003049/0.3621, allocations: 2.845 MB / 0.4956 GB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.3638, allocations: 0.5381 MB / 0.4961 GB, free: 18.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.3644, allocations: 212.6 kB / 0.4963 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04602/0.4104, allocations: 24.56 MB / 0.5203 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.4105, allocations: 31.94 kB / 0.5204 GB, free: 15.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.005e-06/0.4105, allocations: 0 / 0.5204 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.003233/0.4138, allocations: 0.8993 MB / 0.5212 GB, free: 15.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.4139, allocations: 104.8 kB / 0.5213 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.4143, allocations: 381.7 kB / 0.5217 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.4144, allocations: 29.7 kB / 0.5217 GB, free: 14.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4145, allocations: 231.3 kB / 0.522 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.4146, allocations: 88.5 kB / 0.522 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.4146, allocations: 35.05 kB / 0.5221 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4148, allocations: 351.5 kB / 0.5224 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.4153, allocations: 186.5 kB / 0.5226 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.4158, allocations: 287.3 kB / 0.5229 GB, free: 13.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4168, allocations: 440 kB / 0.5233 GB, free: 13.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4169, allocations: 0 / 0.5233 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001271/0.4181, allocations: 0.5166 MB / 0.5238 GB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/0.4182, allocations: 172.4 kB / 0.5239 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4182, allocations: 5.516 kB / 0.5239 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4183, allocations: 4.969 kB / 0.524 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.4187, allocations: 113.6 kB / 0.5241 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4187, allocations: 11.25 kB / 0.5241 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.4192, allocations: 93.31 kB / 0.5242 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4193, allocations: 18.22 kB / 0.5242 GB, free: 13.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.423e-06/0.4193, allocations: 3.375 kB / 0.5242 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.4205, allocations: 448.9 kB / 0.5246 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4205, allocations: 2.594 kB / 0.5246 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.4205, allocations: 9.094 kB / 0.5246 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.4209, allocations: 108 kB / 0.5247 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.4209, allocations: 16.98 kB / 0.5247 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.4214, allocations: 84.14 kB / 0.5248 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.4215, allocations: 11 kB / 0.5248 GB, free: 12.92 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002801/0.4218, allocations: 247.3 kB / 0.5251 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4219, allocations: 40.97 kB / 0.5251 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.4246, allocations: 1.998 MB / 0.5271 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.4246, allocations: 31.95 kB / 0.5271 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4246, allocations: 0 / 0.5271 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4246, allocations: 3.984 kB / 0.5271 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.4257, allocations: 1.043 MB / 0.5281 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4257, allocations: 0 / 0.5281 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.4262, allocations: 99.86 kB / 0.5282 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.4262, allocations: 7.984 kB / 0.5282 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.4262, allocations: 8 kB / 0.5282 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4262, allocations: 3.938 kB / 0.5282 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4262, allocations: 0.5625 kB / 0.5282 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.428, allocations: 1.174 MB / 0.5294 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.4283, allocations: 267.4 kB / 0.5296 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.4284, allocations: 8 kB / 0.5296 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.4288, allocations: 55.86 kB / 0.5297 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.4289, allocations: 39.89 kB / 0.5297 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.429, allocations: 15.98 kB / 0.5297 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004659/0.4294, allocations: 374.8 kB / 0.5301 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4294, allocations: 0 / 0.5301 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005655/0.4351, allocations: 1.124 MB / 0.5312 GB, free: 6.664 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,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007209/0.4423, allocations: 1.22 MB / 0.5324 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.4447, allocations: 0.9255 MB / 0.5333 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4447, allocations: 0 / 0.5333 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008863/0.4456, allocations: 0.5523 MB / 0.5338 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.4472, allocations: 227.7 kB / 0.534 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.4501, allocations: 2.01 MB / 0.536 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.4507, allocations: 0.9834 MB / 0.537 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008838/0.4516, allocations: 0.5459 MB / 0.5375 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4517, allocations: 47.42 kB / 0.5375 GB, free: 104 kB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4517, allocations: 0 / 0.5375 GB, free: 104 kB / 398.1 MB Notification: Performance of Templates: time 0.05137/0.5031, allocations: 40.38 MB / 0.577 GB, free: 7.711 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: