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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007764/0.0007764, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.0009409/0.000941, allocations: 171.7 kB / 16.26 MB, free: 6.656 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.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3755/0.3755, allocations: 40 MB / 310.7 MB, free: 9.516 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.2. 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.0006008/0.0006011, allocations: 12 kB / 379.4 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1466, allocations: 57.96 MB / 437.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.2958/0.4424, allocations: 28.81 MB / 466.2 MB, free: 34.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02244/0.465, allocations: 18.06 MB / 484.3 MB, free: 26.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.4661, allocations: 14.06 kB / 484.3 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009977/0.4671, allocations: 224.1 kB / 484.5 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.478, allocations: 3.049 MB / 487.6 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008414/0.4864, allocations: 2.206 MB / 489.8 MB, free: 23.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.488, allocations: 1.239 MB / 491 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.4885, allocations: 251.1 kB / 491.3 MB, free: 23.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008667/0.4894, allocations: 428.1 kB / 491.7 MB, free: 22.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.4897, allocations: 310.9 kB / 492 MB, free: 22.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.4898, allocations: 18.66 kB / 492 MB, free: 22.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01578/0.5056, allocations: 7.286 MB / 499.3 MB, free: 20.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.506, allocations: 90.23 kB / 499.4 MB, free: 20.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006309/0.5066, allocations: 264.4 kB / 499.6 MB, free: 20.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.5244, allocations: 4.552 MB / 0.4924 GB, free: 19.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.5244, allocations: 4 kB / 0.4924 GB, free: 19.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5245, allocations: 0 / 0.4924 GB, free: 19.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.24e-05/0.5245, allocations: 0.9688 kB / 0.4924 GB, free: 19.54 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.007743/0.5322, allocations: 1.263 MB / 0.4936 GB, free: 18.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.5323, allocations: 8.688 kB / 0.4936 GB, free: 18.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.5348, allocations: 243.9 kB / 0.4938 GB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.5359, allocations: 387.2 kB / 0.4942 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.536, allocations: 35.72 kB / 0.4942 GB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5361, allocations: 29.88 kB / 0.4943 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.5387, allocations: 0.687 MB / 0.4949 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.5387, allocations: 1.562 kB / 0.4949 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.324e-05/0.5388, allocations: 16.47 kB / 0.495 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5388, allocations: 8.469 kB / 0.495 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.5411, allocations: 0.6548 MB / 0.4956 GB, free: 17.91 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.004361/0.5454, allocations: 2.848 MB / 0.4984 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.5474, allocations: 0.5359 MB / 0.4989 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/0.5481, allocations: 211.4 kB / 0.4991 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05597/0.6041, allocations: 24.55 MB / 0.5231 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.6042, allocations: 36.58 kB / 0.5231 GB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.327e-06/0.6042, allocations: 3.938 kB / 0.5231 GB, free: 12.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.003758/0.608, allocations: 0.8978 MB / 0.524 GB, free: 11.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.6081, allocations: 106.2 kB / 0.5241 GB, free: 11.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.6087, allocations: 382.2 kB / 0.5245 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.6088, allocations: 36.45 kB / 0.5245 GB, free: 11.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.609, allocations: 222.4 kB / 0.5247 GB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.6091, allocations: 103 kB / 0.5248 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.6092, allocations: 34.23 kB / 0.5249 GB, free: 10.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6093, allocations: 353.1 kB / 0.5252 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.61, allocations: 178 kB / 0.5254 GB, free: 10.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.6106, allocations: 291.3 kB / 0.5256 GB, free: 10.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.6118, allocations: 441.5 kB / 0.5261 GB, free: 10.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6118, allocations: 0 / 0.5261 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001652/0.6135, allocations: 0.5188 MB / 0.5266 GB, free: 9.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.6136, allocations: 166.7 kB / 0.5267 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6136, allocations: 4 kB / 0.5267 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.6137, allocations: 4 kB / 0.5267 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.6142, allocations: 115.9 kB / 0.5268 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.6142, allocations: 11.92 kB / 0.5269 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.6149, allocations: 79.64 kB / 0.5269 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.6149, allocations: 23.98 kB / 0.527 GB, free: 9.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.615, allocations: 0 / 0.527 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001377/0.6163, allocations: 462.2 kB / 0.5274 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6164, allocations: 4 kB / 0.5274 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.6164, allocations: 4 kB / 0.5274 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.6168, allocations: 107.9 kB / 0.5275 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6168, allocations: 4 kB / 0.5275 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.6175, allocations: 87.58 kB / 0.5276 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.6175, allocations: 23.89 kB / 0.5276 GB, free: 8.57 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.0003698/0.6179, allocations: 244.9 kB / 0.5278 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.618, allocations: 39.53 kB / 0.5279 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.6212, allocations: 1.998 MB / 0.5298 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.6212, allocations: 31.94 kB / 0.5299 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6213, allocations: 3.5 kB / 0.5299 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6213, allocations: 0 / 0.5299 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.6227, allocations: 1.047 MB / 0.5309 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.6227, allocations: 0 / 0.5309 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.6231, allocations: 99.86 kB / 0.531 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.6232, allocations: 4 kB / 0.531 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.6232, allocations: 8 kB / 0.531 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6232, allocations: 0 / 0.531 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6232, allocations: 0 / 0.531 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.6252, allocations: 1.178 MB / 0.5321 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.6256, allocations: 271.3 kB / 0.5324 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6257, allocations: 11.98 kB / 0.5324 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.6262, allocations: 51.95 kB / 0.5325 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6263, allocations: 31.95 kB / 0.5325 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.6263, allocations: 12 kB / 0.5325 GB, free: 3.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004953/0.6268, allocations: 378.8 kB / 0.5329 GB, free: 3.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6268, allocations: 0 / 0.5329 GB, free: 3.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006882/0.6337, allocations: 1.128 MB / 0.534 GB, free: 1.953 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.01097/0.6447, allocations: 1.217 MB / 0.5352 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.6475, allocations: 0.928 MB / 0.5361 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6476, allocations: 0 / 0.5361 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009913/0.6486, allocations: 0.5448 MB / 0.5366 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.6503, allocations: 237.8 kB / 0.5368 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.6538, allocations: 2.014 MB / 0.5388 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.6545, allocations: 0.9834 MB / 0.5398 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000951/0.6554, allocations: 0.541 MB / 0.5403 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.6556, allocations: 47.42 kB / 0.5403 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6556, allocations: 0 / 0.5403 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Templates: time 0.06714/0.7228, allocations: 40.38 MB / 0.5798 GB, free: 3.012 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: