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.00137/0.00137, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.439/1.439, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.736/1.736, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001782/0.001782, allocations: 69.19 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2161, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01526/0.2313, allocations: 12.95 MB / 0.7963 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.2343, allocations: 2.648 MB / 0.7989 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2344, allocations: 4 kB / 0.7989 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.2347, allocations: 47.67 kB / 0.7989 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.2351, allocations: 103.4 kB / 0.799 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2365, allocations: 487.2 kB / 0.7995 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.2368, allocations: 228 kB / 0.7997 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.2369, allocations: 13.56 kB / 0.7997 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00914/0.2461, allocations: 3.573 MB / 0.8032 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2463, allocations: 87.66 kB / 0.8033 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.2464, allocations: 8 kB / 0.8033 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.2493, allocations: 1.049 MB / 0.8043 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.2494, allocations: 43.89 kB / 0.8043 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.2496, allocations: 79.64 kB / 0.8044 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.2507, allocations: 359 kB / 0.8048 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2507, allocations: 0 / 0.8048 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2507, allocations: 0 / 0.8048 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2507, allocations: 0 / 0.8048 GB, free: 7.52 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.0009906/0.2517, allocations: 0.4914 MB / 0.8052 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.2518, allocations: 8.031 kB / 0.8053 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.2519, allocations: 50.73 kB / 0.8053 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.2521, allocations: 28.73 kB / 0.8053 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.2524, allocations: 216.1 kB / 0.8055 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.2525, allocations: 16.7 kB / 0.8056 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2525, allocations: 12.38 kB / 0.8056 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.2529, allocations: 247.9 kB / 0.8058 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.253, allocations: 0 / 0.8058 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.253, allocations: 16 kB / 0.8058 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.253, allocations: 4 kB / 0.8058 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.2535, allocations: 427.5 kB / 0.8062 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.2547, allocations: 0.9604 MB / 0.8072 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.255, allocations: 166.3 kB / 0.8073 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2551, allocations: 60.88 kB / 0.8074 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.2567, allocations: 1.84 MB / 0.8092 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.2567, allocations: 34.56 kB / 0.8092 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.2568, allocations: 0 / 0.8092 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003795/0.2571, allocations: 156.2 kB / 0.8094 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2572, allocations: 55.41 kB / 0.8094 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2574, allocations: 161.4 kB / 0.8096 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2574, allocations: 29.7 kB / 0.8096 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2575, allocations: 143.8 kB / 0.8097 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.2576, allocations: 59.19 kB / 0.8098 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.2577, allocations: 53.7 kB / 0.8098 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2579, allocations: 318.8 kB / 0.8101 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.258, allocations: 39.97 kB / 0.8102 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2582, allocations: 145.7 kB / 0.8103 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.2584, allocations: 193.5 kB / 0.8105 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2585, allocations: 4 kB / 0.8105 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004022/0.2589, allocations: 216.1 kB / 0.8107 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.2589, allocations: 8 kB / 0.8107 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.2589, allocations: 7.984 kB / 0.8107 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.259, allocations: 11.88 kB / 0.8107 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.2591, allocations: 47.92 kB / 0.8108 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.2592, allocations: 11.98 kB / 0.8108 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.2593, allocations: 27.69 kB / 0.8108 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2594, allocations: 12 kB / 0.8108 GB, free: 0.5664 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.2595, allocations: 134 kB / 0.811 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.2596, allocations: 15.81 kB / 0.811 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.26, allocations: 154.9 kB / 0.8111 GB, free: 264 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.26, allocations: 11.88 kB / 0.8111 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.26, allocations: 0 / 0.8111 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.26, allocations: 0 / 0.8111 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.2603, allocations: 217.5 kB / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2603, allocations: 0 / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.2604, allocations: 27.98 kB / 0.8114 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.2605, allocations: 0 / 0.8114 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2605, allocations: 4 kB / 0.8114 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.2605, allocations: 7.938 kB / 0.8114 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2605, allocations: 0 / 0.8114 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.2608, allocations: 219.3 kB / 0.8116 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2609, allocations: 104.9 kB / 0.8117 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.2609, allocations: 11.98 kB / 0.8117 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.2611, allocations: 7.938 kB / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.2611, allocations: 19.98 kB / 0.8117 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.2612, allocations: 8 kB / 0.8117 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.912e-05/0.2613, allocations: 122 kB / 0.8119 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2613, allocations: 0 / 0.8119 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004682/0.2618, allocations: 87.91 kB / 0.8119 GB, free: 15.34 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 (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.0008576/0.2626, allocations: 0.8324 MB / 0.8128 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.2629, allocations: 116.6 kB / 0.8129 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2629, allocations: 4.062 kB / 0.8129 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.263, allocations: 47.86 kB / 0.8129 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.2635, allocations: 51.89 kB / 0.813 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.2661, allocations: 2.027 MB / 0.8149 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2664, allocations: 0.7128 MB / 0.8156 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.2666, allocations: 57.67 kB / 0.8157 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.2667, allocations: 43.42 kB / 0.8157 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.2667, allocations: 0 / 0.8157 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.2906, allocations: 5.385 MB / 0.821 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.405, allocations: 15.06 kB / 0.821 GB, free: 5.98 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)