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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001072/0.001072, 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.123/1.123, 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.2293/0.2293, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001311/0.001311, allocations: 66.3 kB / 389.6 MB, free: 48.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07282/0.07414, allocations: 59.17 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.03522/0.1094, allocations: 44.49 MB / 493.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009489/0.1189, allocations: 9.368 MB / 0.4909 GB, free: 4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.1192, allocations: 23.81 kB / 0.4909 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.1198, allocations: 175 kB / 0.4911 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.1202, allocations: 254.3 kB / 0.4913 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009367/0.1296, allocations: 4.479 MB / 0.4957 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006762/0.1303, allocations: 0.7942 MB / 0.4965 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1306, allocations: 262.3 kB / 0.4967 GB, free: 14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.1311, allocations: 394.3 kB / 0.4971 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1314, allocations: 306.6 kB / 0.4974 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.1315, allocations: 28 kB / 0.4974 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007266/0.1387, allocations: 6.06 MB / 0.5033 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.1388, allocations: 87.61 kB / 0.5034 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.139, allocations: 238.8 kB / 0.5037 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.1426, allocations: 3.719 MB / 0.5073 GB, free: 3.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1426, allocations: 0 / 0.5073 GB, free: 3.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1426, allocations: 4 kB / 0.5073 GB, free: 3.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1426, allocations: 0 / 0.5073 GB, free: 3.172 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.002139/0.1448, allocations: 1.175 MB / 0.5084 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1448, allocations: 15.89 kB / 0.5084 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1449, allocations: 62.72 kB / 0.5085 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.1451, allocations: 72.27 kB / 0.5086 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1455, allocations: 370 kB / 0.5089 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1455, allocations: 21.03 kB / 0.509 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.1456, allocations: 40.12 kB / 0.509 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.1464, allocations: 438.4 kB / 0.5094 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1464, allocations: 0 / 0.5094 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1465, allocations: 12 kB / 0.5094 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1465, allocations: 11.94 kB / 0.5094 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1476, allocations: 367.6 kB / 0.5098 GB, free: 492 kB / 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.001882/0.1495, allocations: 2.113 MB / 0.5118 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.1506, allocations: 305 kB / 0.5121 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.151, allocations: 109.7 kB / 0.5122 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1932/0.3441, allocations: 32.1 MB / 0.5436 GB, free: 72.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3442, allocations: 41.64 kB / 0.5436 GB, free: 72.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.983e-06/0.3442, allocations: 0 / 0.5436 GB, free: 72.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0015/0.3457, allocations: 417.2 kB / 0.544 GB, free: 72.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.3457, allocations: 82.11 kB / 0.5441 GB, free: 72.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.3461, allocations: 442.5 kB / 0.5445 GB, free: 72.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3462, allocations: 36.03 kB / 0.5446 GB, free: 72.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3463, allocations: 224.5 kB / 0.5448 GB, free: 72.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.3463, allocations: 59.09 kB / 0.5448 GB, free: 72.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.3464, allocations: 52.75 kB / 0.5449 GB, free: 72.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.3465, allocations: 354.2 kB / 0.5452 GB, free: 71.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.3468, allocations: 105.7 kB / 0.5453 GB, free: 71.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.3472, allocations: 155.7 kB / 0.5455 GB, free: 71.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.3478, allocations: 253.7 kB / 0.5457 GB, free: 71.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3478, allocations: 2.031 kB / 0.5457 GB, free: 71.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000829/0.3487, allocations: 333.7 kB / 0.546 GB, free: 71.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3487, allocations: 6 kB / 0.546 GB, free: 71.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3487, allocations: 2.344 kB / 0.546 GB, free: 71.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3487, allocations: 2.406 kB / 0.546 GB, free: 71.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.3491, allocations: 66.34 kB / 0.5461 GB, free: 71.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3491, allocations: 8.781 kB / 0.5461 GB, free: 71.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.3494, allocations: 61.78 kB / 0.5462 GB, free: 71.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.3495, allocations: 11.19 kB / 0.5462 GB, free: 71.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003614/0.3498, allocations: 195.6 kB / 0.5464 GB, free: 71.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003102/0.3502, allocations: 162 kB / 0.5465 GB, free: 71.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005966/0.3508, allocations: 254.9 kB / 0.5468 GB, free: 71.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.3508, allocations: 0 / 0.5468 GB, free: 71.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0007679/0.3515, allocations: 322.6 kB / 0.5471 GB, free: 71.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.3516, allocations: 6.531 kB / 0.5471 GB, free: 71.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3516, allocations: 2.75 kB / 0.5471 GB, free: 71.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.3516, allocations: 3.531 kB / 0.5471 GB, free: 71.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.3519, allocations: 69.02 kB / 0.5471 GB, free: 71.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3519, allocations: 7.625 kB / 0.5472 GB, free: 71.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.3522, allocations: 43.55 kB / 0.5472 GB, free: 71.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.3522, allocations: 9.812 kB / 0.5472 GB, free: 71.17 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 7.268e-05/0.3523, allocations: 199.6 kB / 0.5474 GB, free: 70.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.3524, allocations: 49.09 kB / 0.5474 GB, free: 70.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008984/0.3533, allocations: 448.9 kB / 0.5479 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3533, allocations: 2.281 kB / 0.5479 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3533, allocations: 1.031 kB / 0.5479 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3533, allocations: 5.016 kB / 0.5479 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.3537, allocations: 460.1 kB / 0.5483 GB, free: 70.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3538, allocations: 0 / 0.5483 GB, free: 70.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.354, allocations: 59.83 kB / 0.5484 GB, free: 70.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.354, allocations: 3.219 kB / 0.5484 GB, free: 70.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3541, allocations: 2.156 kB / 0.5484 GB, free: 70.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3541, allocations: 1.094 kB / 0.5484 GB, free: 70.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3541, allocations: 1.062 kB / 0.5484 GB, free: 70.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.3548, allocations: 463.7 kB / 0.5488 GB, free: 70.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.3549, allocations: 122.5 kB / 0.5489 GB, free: 70.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.355, allocations: 17.12 kB / 0.549 GB, free: 70.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.3553, allocations: 32.72 kB / 0.549 GB, free: 70.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.3554, allocations: 12.73 kB / 0.549 GB, free: 70.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3554, allocations: 8.5 kB / 0.549 GB, free: 70.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.3557, allocations: 411.4 kB / 0.5494 GB, free: 69.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3558, allocations: 0 / 0.5494 GB, free: 69.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001923/0.3577, allocations: 0.93 MB / 0.5503 GB, free: 69.78 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.003514/0.3612, allocations: 1.845 MB / 0.5521 GB, free: 68.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.3624, allocations: 368.7 kB / 0.5525 GB, free: 68.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3624, allocations: 0 / 0.5525 GB, free: 68.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.3627, allocations: 113 kB / 0.5526 GB, free: 68.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.3639, allocations: 244.2 kB / 0.5528 GB, free: 68.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.3691, allocations: 4.521 MB / 0.5572 GB, free: 65.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3692, allocations: 0.8237 MB / 0.558 GB, free: 64.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003077/0.3696, allocations: 160.9 kB / 0.5582 GB, free: 64.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3697, allocations: 178 kB / 0.5583 GB, free: 64.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3697, allocations: 0 / 0.5583 GB, free: 64.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.4119, allocations: 39.64 MB / 0.5971 GB, free: 26.36 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001157/0.4121, allocations: 196.8 kB / 0.5973 GB, free: 26.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/3.847, allocations: 0 / 0.5973 GB, free: 26.11 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)