Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 115.8 kB / 17.69 MB, free: 5.371 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.002229/0.00223, allocations: 191 kB / 18.62 MB, free: 4.449 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.524/1.524, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2936/0.2936, allocations: 48.84 MB / 320.7 MB, free: 11.04 MB / 270.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: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.02 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1226, allocations: 59.16 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.05374/0.1764, allocations: 44.34 MB / 495 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.1891, allocations: 9.27 MB / 0.4925 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004462/0.1896, allocations: 11.94 kB / 0.4925 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.1903, allocations: 206.5 kB / 0.4927 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006717/0.191, allocations: 286 kB / 0.493 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.2072, allocations: 5.029 MB / 0.4979 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.2086, allocations: 0.7941 MB / 0.4986 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.2091, allocations: 266.4 kB / 0.4989 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007571/0.2099, allocations: 394.3 kB / 0.4993 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.2102, allocations: 298.6 kB / 0.4996 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.2103, allocations: 32 kB / 0.4996 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.2224, allocations: 6.138 MB / 0.5056 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.2226, allocations: 83.62 kB / 0.5057 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.223, allocations: 246.7 kB / 0.5059 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.2336, allocations: 3.699 MB / 0.5095 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2337, allocations: 0 / 0.5095 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2337, allocations: 0 / 0.5095 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.2337, allocations: 0 / 0.5095 GB, free: 1.758 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00345/0.2372, allocations: 1.188 MB / 0.5107 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2372, allocations: 15.88 kB / 0.5107 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.2375, allocations: 68.27 kB / 0.5107 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.238, allocations: 374 kB / 0.5111 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.2381, allocations: 25.03 kB / 0.5111 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.2382, allocations: 28.42 kB / 0.5112 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/0.2391, allocations: 438.3 kB / 0.5116 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.2392, allocations: 3.938 kB / 0.5116 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.2392, allocations: 16 kB / 0.5116 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2392, allocations: 8 kB / 0.5116 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2404, allocations: 359.6 kB / 0.5119 GB, free: 15.13 MB / 414.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.002252/0.2427, allocations: 2.112 MB / 0.514 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.2439, allocations: 309 kB / 0.5143 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.2442, allocations: 105.7 kB / 0.5144 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2633/0.5076, allocations: 32.23 MB / 0.5459 GB, free: 71.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.5076, allocations: 35.28 kB / 0.5459 GB, free: 71.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.5076, allocations: 3.281 kB / 0.5459 GB, free: 71.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001649/0.5093, allocations: 426.6 kB / 0.5463 GB, free: 71.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.5093, allocations: 80.45 kB / 0.5464 GB, free: 71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.5098, allocations: 435.9 kB / 0.5468 GB, free: 70.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.5099, allocations: 28.52 kB / 0.5468 GB, free: 70.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.51, allocations: 230.7 kB / 0.5471 GB, free: 70.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.5101, allocations: 59.06 kB / 0.5471 GB, free: 70.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.5102, allocations: 54.06 kB / 0.5472 GB, free: 70.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.5103, allocations: 360.4 kB / 0.5475 GB, free: 70.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.5106, allocations: 102.2 kB / 0.5476 GB, free: 70.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.511, allocations: 157.8 kB / 0.5478 GB, free: 70.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.5117, allocations: 257.5 kB / 0.548 GB, free: 70.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5117, allocations: 1.312 kB / 0.548 GB, free: 70.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008955/0.5126, allocations: 330 kB / 0.5483 GB, free: 70.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5127, allocations: 5.891 kB / 0.5483 GB, free: 70.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5127, allocations: 2.281 kB / 0.5483 GB, free: 70.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5127, allocations: 3.5 kB / 0.5483 GB, free: 70.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.5131, allocations: 69.89 kB / 0.5484 GB, free: 70.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5131, allocations: 2.719 kB / 0.5484 GB, free: 70.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.5135, allocations: 55.34 kB / 0.5484 GB, free: 70.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.5135, allocations: 11.97 kB / 0.5485 GB, free: 70.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004081/0.5139, allocations: 205.8 kB / 0.5487 GB, free: 70.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003561/0.5143, allocations: 157 kB / 0.5488 GB, free: 69.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006606/0.515, allocations: 264.1 kB / 0.5491 GB, free: 69.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.515, allocations: 1.094 kB / 0.5491 GB, free: 69.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008751/0.5159, allocations: 314.1 kB / 0.5494 GB, free: 69.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.5159, allocations: 8.625 kB / 0.5494 GB, free: 69.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5159, allocations: 3 kB / 0.5494 GB, free: 69.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.5159, allocations: 3.656 kB / 0.5494 GB, free: 69.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.5162, allocations: 63.7 kB / 0.5494 GB, free: 69.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5162, allocations: 11.95 kB / 0.5494 GB, free: 69.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.5166, allocations: 29.64 kB / 0.5495 GB, free: 69.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.5166, allocations: 8.844 kB / 0.5495 GB, free: 69.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.000101/0.5167, allocations: 206.9 kB / 0.5497 GB, free: 69.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5168, allocations: 47.34 kB / 0.5497 GB, free: 69.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.5179, allocations: 447.4 kB / 0.5502 GB, free: 69.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5179, allocations: 2.469 kB / 0.5502 GB, free: 69.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5179, allocations: 1.031 kB / 0.5502 GB, free: 69.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5179, allocations: 5.938 kB / 0.5502 GB, free: 69.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.5184, allocations: 460 kB / 0.5506 GB, free: 68.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5184, allocations: 0 / 0.5506 GB, free: 68.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.5187, allocations: 50.98 kB / 0.5506 GB, free: 68.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5187, allocations: 4.484 kB / 0.5507 GB, free: 68.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.5187, allocations: 10.14 kB / 0.5507 GB, free: 68.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5187, allocations: 1.125 kB / 0.5507 GB, free: 68.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5187, allocations: 0 / 0.5507 GB, free: 68.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.5196, allocations: 459.1 kB / 0.5511 GB, free: 68.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.5197, allocations: 123.2 kB / 0.5512 GB, free: 68.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.5198, allocations: 16.84 kB / 0.5512 GB, free: 68.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.5201, allocations: 24.41 kB / 0.5513 GB, free: 68.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.5202, allocations: 14.42 kB / 0.5513 GB, free: 68.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.5202, allocations: 9.438 kB / 0.5513 GB, free: 68.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004502/0.5207, allocations: 411.4 kB / 0.5517 GB, free: 68.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5207, allocations: 4 kB / 0.5517 GB, free: 68.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00353/0.5242, allocations: 0.9312 MB / 0.5526 GB, free: 67.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.003762/0.528, allocations: 0.9574 MB / 0.5535 GB, free: 67.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.5294, allocations: 365.2 kB / 0.5539 GB, free: 67.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.5294, allocations: 0 / 0.5539 GB, free: 67.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.5297, allocations: 112.2 kB / 0.554 GB, free: 67.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5312, allocations: 227.8 kB / 0.5542 GB, free: 67.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.5327, allocations: 0.7831 MB / 0.555 GB, free: 66.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.5329, allocations: 0.8313 MB / 0.5558 GB, free: 66.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.5332, allocations: 161 kB / 0.5559 GB, free: 66.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.5333, allocations: 41.86 kB / 0.556 GB, free: 66.06 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5333, allocations: 0 / 0.556 GB, free: 66.06 MB / 414.1 MB Notification: Performance of Templates: time 0.03561/0.569, allocations: 34.37 MB / 0.5895 GB, free: 35.11 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)