Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",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.001215/0.001215, allocations: 108 kB / 15.6 MB, free: 132 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.001489/0.001489, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.457/1.457, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.702/1.702, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001456/0.001456, allocations: 70.56 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2498, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007214/0.2571, allocations: 4.709 MB / 0.7881 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.2601, allocations: 2.675 MB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2602, allocations: 0 / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.2606, allocations: 51.67 kB / 0.7907 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.2609, allocations: 95.36 kB / 0.7908 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2621, allocations: 487.5 kB / 0.7913 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.2623, allocations: 227.9 kB / 0.7915 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.2624, allocations: 13.56 kB / 0.7915 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.2626, allocations: 119.5 kB / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2628, allocations: 83.67 kB / 0.7917 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.2628, allocations: 8 kB / 0.7917 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006949/0.2635, allocations: 343.3 kB / 0.792 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.2636, allocations: 43.83 kB / 0.7921 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2637, allocations: 79.64 kB / 0.7922 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.2643, allocations: 343.5 kB / 0.7925 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2643, allocations: 8 kB / 0.7925 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2643, allocations: 0 / 0.7925 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2643, allocations: 0 / 0.7925 GB, free: 4.066 MB / 0.6075 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.0007189/0.265, allocations: 0.4953 MB / 0.793 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2651, allocations: 12.03 kB / 0.793 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.2651, allocations: 46.73 kB / 0.793 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2653, allocations: 20.75 kB / 0.793 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.2655, allocations: 216.1 kB / 0.7933 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2655, allocations: 12.64 kB / 0.7933 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.2656, allocations: 20.38 kB / 0.7933 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.2659, allocations: 244 kB / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2659, allocations: 0 / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.266, allocations: 8 kB / 0.7935 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.266, allocations: 7.938 kB / 0.7935 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.2665, allocations: 431.5 kB / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.2676, allocations: 0.9487 MB / 0.7949 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.2679, allocations: 155.7 kB / 0.795 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.268, allocations: 68.16 kB / 0.7951 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.2695, allocations: 1.829 MB / 0.7969 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.2695, allocations: 42.56 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.2695, allocations: 0 / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000351/0.2699, allocations: 137.5 kB / 0.797 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.2699, allocations: 59.39 kB / 0.7971 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.2701, allocations: 164.4 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2701, allocations: 37.64 kB / 0.7973 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2703, allocations: 139.8 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.2703, allocations: 59.14 kB / 0.7975 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.2704, allocations: 53.7 kB / 0.7975 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2705, allocations: 326.8 kB / 0.7978 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.2706, allocations: 39.92 kB / 0.7979 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2708, allocations: 145.7 kB / 0.798 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.271, allocations: 200.6 kB / 0.7982 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.271, allocations: 3.938 kB / 0.7982 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003272/0.2714, allocations: 213.5 kB / 0.7984 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2714, allocations: 12.05 kB / 0.7984 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2714, allocations: 4 kB / 0.7984 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2714, allocations: 7.938 kB / 0.7984 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2716, allocations: 55.92 kB / 0.7985 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2717, allocations: 4 kB / 0.7985 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2718, allocations: 27.69 kB / 0.7985 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2718, allocations: 15.98 kB / 0.7985 GB, free: 13.13 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.0001164/0.2719, allocations: 133.7 kB / 0.7987 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.272, allocations: 15.81 kB / 0.7987 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.2723, allocations: 159 kB / 0.7988 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.2723, allocations: 3.938 kB / 0.7988 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2723, allocations: 0 / 0.7988 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2723, allocations: 3.984 kB / 0.7988 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.2725, allocations: 217.5 kB / 0.799 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2726, allocations: 0 / 0.799 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.2727, allocations: 27.92 kB / 0.7991 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2727, allocations: 0 / 0.7991 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2727, allocations: 8 kB / 0.7991 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2727, allocations: 7.938 kB / 0.7991 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2727, allocations: 0 / 0.7991 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.2729, allocations: 218.7 kB / 0.7993 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.273, allocations: 108.9 kB / 0.7994 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2731, allocations: 0 / 0.7994 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2732, allocations: 15.92 kB / 0.7994 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.2733, allocations: 7.984 kB / 0.7994 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2733, allocations: 15.98 kB / 0.7994 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.255e-05/0.2734, allocations: 122.1 kB / 0.7996 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.424e-06/0.2734, allocations: 0 / 0.7996 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003711/0.2738, allocations: 83.81 kB / 0.7996 GB, free: 11.91 MB / 0.6231 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.0007543/0.2745, allocations: 0.8254 MB / 0.8004 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.2748, allocations: 123.7 kB / 0.8006 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2748, allocations: 0.9375 kB / 0.8006 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.2749, allocations: 43.92 kB / 0.8006 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.2754, allocations: 67.77 kB / 0.8007 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.2775, allocations: 2.029 MB / 0.8027 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.2778, allocations: 0.709 MB / 0.8033 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.278, allocations: 53.73 kB / 0.8034 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.2781, allocations: 43.42 kB / 0.8034 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.2781, allocations: 0 / 0.8034 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.3015, allocations: 5.121 MB / 0.8084 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.205, allocations: 22.2 kB / 0.8085 GB, free: 2.742 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)