Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.001122/0.001122, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001502/0.001502, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.0005511/0.0005512, allocations: 9.75 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2367, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01333/0.2501, allocations: 11.99 MB / 0.7991 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2527, allocations: 2.432 MB / 0.8015 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.2528, allocations: 7.938 kB / 0.8015 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.253, allocations: 35.81 kB / 0.8015 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.2533, allocations: 87.47 kB / 0.8016 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000985/0.2543, allocations: 395 kB / 0.802 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.2546, allocations: 267.8 kB / 0.8022 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.2546, allocations: 9.562 kB / 0.8023 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009111/0.2637, allocations: 4.366 MB / 0.8065 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.264, allocations: 87.7 kB / 0.8066 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.264, allocations: 12 kB / 0.8066 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.2668, allocations: 0.9131 MB / 0.8075 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.2669, allocations: 31.89 kB / 0.8075 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.267, allocations: 57.62 kB / 0.8076 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.2675, allocations: 219.5 kB / 0.8078 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2675, allocations: 4 kB / 0.8078 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.326e-06/0.2675, allocations: 0 / 0.8078 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2675, allocations: 3.938 kB / 0.8078 GB, free: 6.895 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007516/0.2683, allocations: 467.1 kB / 0.8083 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.2683, allocations: 8.031 kB / 0.8083 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.2684, allocations: 58.48 kB / 0.8083 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.2686, allocations: 23.8 kB / 0.8083 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2689, allocations: 210.8 kB / 0.8085 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.2689, allocations: 20.31 kB / 0.8086 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.2689, allocations: 12 kB / 0.8086 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2693, allocations: 240 kB / 0.8088 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2694, allocations: 0 / 0.8088 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.2694, allocations: 15.89 kB / 0.8088 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.2694, allocations: 7.938 kB / 0.8088 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.2699, allocations: 431.5 kB / 0.8092 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2711, allocations: 0.9605 MB / 0.8102 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.2713, allocations: 158.4 kB / 0.8103 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.2714, allocations: 60.88 kB / 0.8104 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.2728, allocations: 1.833 MB / 0.8122 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.2729, allocations: 46.5 kB / 0.8122 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2729, allocations: 0 / 0.8122 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003309/0.2732, allocations: 144.5 kB / 0.8124 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.2733, allocations: 51.41 kB / 0.8124 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2734, allocations: 167.2 kB / 0.8126 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2734, allocations: 33.7 kB / 0.8126 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.2736, allocations: 139.8 kB / 0.8127 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.2736, allocations: 59.22 kB / 0.8128 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.2736, allocations: 4 kB / 0.8128 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2738, allocations: 326.8 kB / 0.8131 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.2738, allocations: 43.91 kB / 0.8131 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.274, allocations: 133.7 kB / 0.8133 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.736e-05/0.2741, allocations: 63.88 kB / 0.8133 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2741, allocations: 0 / 0.8133 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000302/0.2744, allocations: 213.5 kB / 0.8135 GB, free: 352 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2744, allocations: 8 kB / 0.8135 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.2744, allocations: 4 kB / 0.8135 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2745, allocations: 4 kB / 0.8135 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.2746, allocations: 55.91 kB / 0.8136 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2747, allocations: 7.938 kB / 0.8136 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2748, allocations: 31.69 kB / 0.8136 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2748, allocations: 16 kB / 0.8137 GB, free: 224 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.2749, allocations: 133.8 kB / 0.8138 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.275, allocations: 15.81 kB / 0.8138 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.2753, allocations: 161.3 kB / 0.814 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2753, allocations: 0 / 0.814 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2753, allocations: 0 / 0.814 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2753, allocations: 0 / 0.814 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.2756, allocations: 221.4 kB / 0.8142 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2756, allocations: 3.953 kB / 0.8142 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.2757, allocations: 24 kB / 0.8142 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2757, allocations: 0 / 0.8142 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2757, allocations: 11.98 kB / 0.8142 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2757, allocations: 0 / 0.8142 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2757, allocations: 0 / 0.8142 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.2759, allocations: 215.3 kB / 0.8144 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.276, allocations: 120.8 kB / 0.8145 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.2761, allocations: 4 kB / 0.8145 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2762, allocations: 4 kB / 0.8145 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.2763, allocations: 15.98 kB / 0.8145 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.2763, allocations: 15.98 kB / 0.8146 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.2764, allocations: 112 kB / 0.8147 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2764, allocations: 4 kB / 0.8147 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004028/0.2768, allocations: 71.94 kB / 0.8147 GB, free: 15.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006391/0.2774, allocations: 0.8324 MB / 0.8156 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2777, allocations: 120.4 kB / 0.8157 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.2777, allocations: 4.25 kB / 0.8157 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.2778, allocations: 43.92 kB / 0.8157 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.2782, allocations: 51.94 kB / 0.8158 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2797, allocations: 0.9987 MB / 0.8167 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.28, allocations: 0.7133 MB / 0.8174 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.2802, allocations: 49.69 kB / 0.8175 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.2802, allocations: 47.42 kB / 0.8175 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.2803, allocations: 0 / 0.8175 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.2961, allocations: 4.958 MB / 0.8224 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.2963, allocations: 194.2 kB / 0.8226 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.149, allocations: 0 / 0.8226 GB, free: 7.016 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: