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.0011/0.0011, allocations: 98.27 kB / 16.5 MB, free: 6.656 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.001067/0.001067, allocations: 195.1 kB / 17.42 MB, free: 6.062 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.091/1.091, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2152/0.2152, allocations: 48.85 MB / 319.5 MB, free: 11.31 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.001246/0.001246, allocations: 62 kB / 389.5 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07071/0.07197, allocations: 59.17 MB / 448.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.03576/0.1078, allocations: 45.3 MB / 493.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009941/0.1177, allocations: 10.03 MB / 0.4921 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.1181, allocations: 19.81 kB / 0.4922 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.1186, allocations: 175 kB / 0.4923 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.1191, allocations: 266.4 kB / 0.4926 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.1293, allocations: 4.077 MB / 0.4966 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009532/0.1302, allocations: 1.04 MB / 0.4976 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.1305, allocations: 222.3 kB / 0.4978 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.1311, allocations: 362.4 kB / 0.4981 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1313, allocations: 298.6 kB / 0.4984 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.1314, allocations: 23.98 kB / 0.4984 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008345/0.1397, allocations: 6.075 MB / 0.5044 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1398, allocations: 71.62 kB / 0.5044 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.14, allocations: 226.8 kB / 0.5047 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.1442, allocations: 3.711 MB / 0.5083 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1442, allocations: 0 / 0.5083 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1442, allocations: 0 / 0.5083 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1442, allocations: 4 kB / 0.5083 GB, free: 2.086 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.002175/0.1464, allocations: 1.175 MB / 0.5094 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1464, allocations: 12.03 kB / 0.5094 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.1465, allocations: 66.72 kB / 0.5095 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1467, allocations: 72.27 kB / 0.5096 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.1471, allocations: 366 kB / 0.5099 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1471, allocations: 28.97 kB / 0.5099 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.1472, allocations: 32.12 kB / 0.51 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008663/0.148, allocations: 438.5 kB / 0.5104 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.148, allocations: 0 / 0.5104 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.1481, allocations: 12 kB / 0.5104 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1481, allocations: 8 kB / 0.5104 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1492, allocations: 363.6 kB / 0.5108 GB, free: 15.41 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.001846/0.1511, allocations: 2.124 MB / 0.5128 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1522, allocations: 305 kB / 0.5131 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.1525, allocations: 113.6 kB / 0.5132 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1905/0.343, allocations: 32.1 MB / 0.5446 GB, free: 71.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.343, allocations: 35.53 kB / 0.5446 GB, free: 71.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.224e-06/0.343, allocations: 0 / 0.5446 GB, free: 71.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001529/0.3446, allocations: 420.3 kB / 0.545 GB, free: 71.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3446, allocations: 83.17 kB / 0.5451 GB, free: 71.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.3451, allocations: 445.6 kB / 0.5455 GB, free: 71.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3451, allocations: 27.02 kB / 0.5455 GB, free: 71.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3452, allocations: 226 kB / 0.5458 GB, free: 71.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.3453, allocations: 58.16 kB / 0.5458 GB, free: 71.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.3454, allocations: 54.14 kB / 0.5459 GB, free: 71.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.3454, allocations: 353.7 kB / 0.5462 GB, free: 70.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.3458, allocations: 104.1 kB / 0.5463 GB, free: 70.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.3462, allocations: 156.8 kB / 0.5465 GB, free: 70.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.3468, allocations: 261.2 kB / 0.5467 GB, free: 70.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3468, allocations: 1.281 kB / 0.5467 GB, free: 70.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008381/0.3477, allocations: 331.8 kB / 0.547 GB, free: 70.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3477, allocations: 9.531 kB / 0.547 GB, free: 70.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3477, allocations: 2.375 kB / 0.547 GB, free: 70.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3477, allocations: 2.406 kB / 0.547 GB, free: 70.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.3481, allocations: 65.55 kB / 0.5471 GB, free: 70.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3481, allocations: 5.812 kB / 0.5471 GB, free: 70.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.3485, allocations: 59.25 kB / 0.5472 GB, free: 70.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3485, allocations: 11.75 kB / 0.5472 GB, free: 70.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003866/0.3489, allocations: 194.1 kB / 0.5474 GB, free: 70.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003249/0.3492, allocations: 163.1 kB / 0.5475 GB, free: 70.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006214/0.3499, allocations: 257.8 kB / 0.5478 GB, free: 70.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/0.3499, allocations: 5.047 kB / 0.5478 GB, free: 70.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0007899/0.3507, allocations: 319.4 kB / 0.5481 GB, free: 70.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.3507, allocations: 6.188 kB / 0.5481 GB, free: 70.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3507, allocations: 2.031 kB / 0.5481 GB, free: 70.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.3507, allocations: 8.344 kB / 0.5481 GB, free: 70.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.351, allocations: 57.48 kB / 0.5481 GB, free: 70.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.351, allocations: 10.89 kB / 0.5481 GB, free: 70.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.3514, allocations: 43.56 kB / 0.5482 GB, free: 70.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3514, allocations: 11.62 kB / 0.5482 GB, free: 70.11 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.418e-05/0.3515, allocations: 195.6 kB / 0.5484 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.3516, allocations: 46.19 kB / 0.5484 GB, free: 69.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009602/0.3525, allocations: 450.2 kB / 0.5489 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3525, allocations: 2.094 kB / 0.5489 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3525, allocations: 1.344 kB / 0.5489 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3526, allocations: 3.984 kB / 0.5489 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.353, allocations: 459.8 kB / 0.5493 GB, free: 69.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.353, allocations: 2.875 kB / 0.5493 GB, free: 69.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.3533, allocations: 55.3 kB / 0.5494 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3533, allocations: 1.219 kB / 0.5494 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3533, allocations: 4.5 kB / 0.5494 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3533, allocations: 4.781 kB / 0.5494 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3534, allocations: 1.156 kB / 0.5494 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.3541, allocations: 462.6 kB / 0.5498 GB, free: 69.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.3542, allocations: 127.4 kB / 0.5499 GB, free: 69.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.3543, allocations: 16.22 kB / 0.55 GB, free: 69.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.3546, allocations: 33.38 kB / 0.55 GB, free: 69.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.3547, allocations: 9.828 kB / 0.55 GB, free: 69.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3547, allocations: 4.469 kB / 0.55 GB, free: 69.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.3551, allocations: 414.2 kB / 0.5504 GB, free: 68.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3551, allocations: 4 kB / 0.5504 GB, free: 68.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00206/0.3571, allocations: 0.9302 MB / 0.5513 GB, free: 68.7 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.004185/0.3613, allocations: 1.85 MB / 0.5531 GB, free: 67.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.3625, allocations: 364 kB / 0.5535 GB, free: 67.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3625, allocations: 0 / 0.5535 GB, free: 67.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.3629, allocations: 110.7 kB / 0.5536 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.001142/0.364, allocations: 228.4 kB / 0.5538 GB, free: 67.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.3695, allocations: 4.523 MB / 0.5582 GB, free: 64.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.3696, allocations: 0.8278 MB / 0.559 GB, free: 63.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.37, allocations: 160.9 kB / 0.5592 GB, free: 63.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3701, allocations: 174.9 kB / 0.5593 GB, free: 63.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3701, allocations: 0 / 0.5593 GB, free: 63.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04103/0.4112, allocations: 39.28 MB / 0.5977 GB, free: 25.61 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.4113, allocations: 192.6 kB / 0.5979 GB, free: 25.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.123/4.534, allocations: 0 / 0.5979 GB, free: 25.36 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)