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.001196/0.001196, allocations: 105.3 kB / 16.62 MB, free: 6.965 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.001244/0.001245, allocations: 190 kB / 17.54 MB, free: 6.066 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.447/1.447, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2704/0.2704, allocations: 48.84 MB / 319.6 MB, free: 11.28 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.001525/0.001525, allocations: 65.72 kB / 389.6 MB, free: 48.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08597, allocations: 59.17 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04366/0.1297, allocations: 44.49 MB / 493.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.1409, allocations: 9.365 MB / 0.4908 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.1415, allocations: 19.81 kB / 0.4908 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.1423, allocations: 179 kB / 0.491 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006172/0.1429, allocations: 262.3 kB / 0.4912 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01166/0.1546, allocations: 4.468 MB / 0.4956 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008969/0.1555, allocations: 0.7942 MB / 0.4964 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.1558, allocations: 262.4 kB / 0.4966 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005836/0.1564, allocations: 390.3 kB / 0.497 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1567, allocations: 306.6 kB / 0.4973 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.1568, allocations: 28 kB / 0.4973 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009012/0.1658, allocations: 6.064 MB / 0.5032 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.166, allocations: 79.62 kB / 0.5033 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.1662, allocations: 238.8 kB / 0.5035 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.1722, allocations: 3.723 MB / 0.5072 GB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1722, allocations: 4 kB / 0.5072 GB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1722, allocations: 4 kB / 0.5072 GB, free: 3.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1722, allocations: 0 / 0.5072 GB, free: 3.273 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.002731/0.175, allocations: 1.179 MB / 0.5083 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.175, allocations: 19.89 kB / 0.5084 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1753, allocations: 68.27 kB / 0.5084 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.1757, allocations: 373.9 kB / 0.5088 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1757, allocations: 25.03 kB / 0.5088 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.1758, allocations: 28.38 kB / 0.5088 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.1768, allocations: 430.4 kB / 0.5092 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1768, allocations: 4 kB / 0.5092 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.1768, allocations: 11.98 kB / 0.5093 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1768, allocations: 8 kB / 0.5093 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.1781, allocations: 375.5 kB / 0.5096 GB, free: 0.6523 MB / 398.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.002257/0.1804, allocations: 2.109 MB / 0.5117 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.1816, allocations: 313 kB / 0.512 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.182, allocations: 109.7 kB / 0.5121 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2198/0.4019, allocations: 32.09 MB / 0.5434 GB, free: 72.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.4019, allocations: 40.73 kB / 0.5435 GB, free: 72.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/0.4019, allocations: 3.828 kB / 0.5435 GB, free: 72.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001605/0.4036, allocations: 419.8 kB / 0.5439 GB, free: 72.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.4036, allocations: 79.27 kB / 0.5439 GB, free: 72.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.404, allocations: 433.9 kB / 0.5444 GB, free: 72.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.404, allocations: 31.11 kB / 0.5444 GB, free: 72.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4042, allocations: 230.8 kB / 0.5446 GB, free: 72.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.4042, allocations: 56.94 kB / 0.5447 GB, free: 72.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.4043, allocations: 51.39 kB / 0.5447 GB, free: 72.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.4044, allocations: 360.8 kB / 0.545 GB, free: 72.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.4048, allocations: 99.41 kB / 0.5451 GB, free: 72.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.4052, allocations: 161.2 kB / 0.5453 GB, free: 72.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.4059, allocations: 255.8 kB / 0.5455 GB, free: 71.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4059, allocations: 0 / 0.5455 GB, free: 71.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008996/0.4068, allocations: 331.5 kB / 0.5459 GB, free: 71.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4068, allocations: 5.219 kB / 0.5459 GB, free: 71.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4068, allocations: 4.688 kB / 0.5459 GB, free: 71.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4069, allocations: 6.25 kB / 0.5459 GB, free: 71.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.4072, allocations: 68 kB / 0.5459 GB, free: 71.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4073, allocations: 7.469 kB / 0.5459 GB, free: 71.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.4076, allocations: 56.42 kB / 0.546 GB, free: 71.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.4077, allocations: 15 kB / 0.546 GB, free: 71.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003958/0.4081, allocations: 201 kB / 0.5462 GB, free: 71.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003455/0.4084, allocations: 160.5 kB / 0.5464 GB, free: 71.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006923/0.4091, allocations: 259.8 kB / 0.5466 GB, free: 71.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.4092, allocations: 0 / 0.5466 GB, free: 71.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008577/0.41, allocations: 315.3 kB / 0.5469 GB, free: 71.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.41, allocations: 6.062 kB / 0.5469 GB, free: 71.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4101, allocations: 7.469 kB / 0.5469 GB, free: 71.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.4101, allocations: 7.609 kB / 0.5469 GB, free: 71.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.4104, allocations: 62.05 kB / 0.547 GB, free: 71.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4104, allocations: 10.67 kB / 0.547 GB, free: 71.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.4108, allocations: 36.61 kB / 0.547 GB, free: 71.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.4108, allocations: 16.55 kB / 0.547 GB, free: 71.43 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 9.095e-05/0.4109, allocations: 199.4 kB / 0.5472 GB, free: 71.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.411, allocations: 46 kB / 0.5473 GB, free: 71.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.412, allocations: 445.5 kB / 0.5477 GB, free: 71.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.412, allocations: 4.016 kB / 0.5477 GB, free: 71.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.412, allocations: 1.219 kB / 0.5477 GB, free: 71.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.412, allocations: 0 / 0.5477 GB, free: 71.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.4125, allocations: 466.2 kB / 0.5482 GB, free: 70.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4125, allocations: 0 / 0.5482 GB, free: 70.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.4128, allocations: 53.02 kB / 0.5482 GB, free: 70.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4128, allocations: 1.25 kB / 0.5482 GB, free: 70.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4129, allocations: 4.562 kB / 0.5482 GB, free: 70.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4129, allocations: 5.375 kB / 0.5482 GB, free: 70.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4129, allocations: 1.25 kB / 0.5482 GB, free: 70.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008431/0.4137, allocations: 464 kB / 0.5487 GB, free: 70.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.4138, allocations: 121 kB / 0.5488 GB, free: 70.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.4139, allocations: 20.2 kB / 0.5488 GB, free: 70.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.4143, allocations: 30.14 kB / 0.5488 GB, free: 70.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.4143, allocations: 15.62 kB / 0.5488 GB, free: 70.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4144, allocations: 6.094 kB / 0.5488 GB, free: 70.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003904/0.4147, allocations: 414.4 kB / 0.5492 GB, free: 70.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4148, allocations: 0 / 0.5492 GB, free: 70.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002434/0.4172, allocations: 0.9301 MB / 0.5501 GB, free: 70.06 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.003634/0.4208, allocations: 0.9652 MB / 0.5511 GB, free: 69.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.4222, allocations: 363.4 kB / 0.5514 GB, free: 69.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4222, allocations: 0 / 0.5514 GB, free: 69.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.4226, allocations: 111.7 kB / 0.5515 GB, free: 69.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.4241, allocations: 239.8 kB / 0.5518 GB, free: 69.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4255, allocations: 0.9344 MB / 0.5527 GB, free: 68.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.4257, allocations: 0.8275 MB / 0.5535 GB, free: 68.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.4261, allocations: 153.3 kB / 0.5536 GB, free: 68.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.4262, allocations: 44.42 kB / 0.5537 GB, free: 68.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4262, allocations: 0 / 0.5537 GB, free: 68.04 MB / 414.1 MB Notification: Performance of Templates: time 0.03353/0.4597, allocations: 34.39 MB / 0.5873 GB, free: 36.6 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)