Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 182.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009983/0.0009985, allocations: 95.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 6.781 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2521, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004309/0.2565, allocations: 3.068 MB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2585, allocations: 2.175 MB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.2586, allocations: 0 / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.2589, allocations: 35.86 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.2591, allocations: 83.73 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2601, allocations: 429.2 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.2603, allocations: 168.6 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.2603, allocations: 13.55 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.2605, allocations: 99.67 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.2606, allocations: 71.75 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.2606, allocations: 8 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.2612, allocations: 371.5 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.2613, allocations: 43.89 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.2613, allocations: 53.64 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.2617, allocations: 251.6 kB / 0.9068 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.2617, allocations: 0 / 0.9068 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2617, allocations: 0 / 0.9068 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2617, allocations: 0 / 0.9068 GB, free: 56.97 MB / 0.6042 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.000602/0.2623, allocations: 471.2 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2624, allocations: 12.03 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.2624, allocations: 54.5 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.2642, allocations: 179.6 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.2644, allocations: 206.8 kB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2645, allocations: 16.33 kB / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.2645, allocations: 15.94 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.2651, allocations: 300.9 kB / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2651, allocations: 0 / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.2651, allocations: 12 kB / 0.908 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.2652, allocations: 7.953 kB / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.2658, allocations: 267.6 kB / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.2671, allocations: 1.381 MB / 0.9096 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.2677, allocations: 193.6 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.2678, allocations: 11.94 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.2678, allocations: 38.5 kB / 0.9099 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/0.2678, allocations: 4 kB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006676/0.2685, allocations: 237.6 kB / 0.9101 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.2685, allocations: 55.41 kB / 0.9102 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2686, allocations: 157.3 kB / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2687, allocations: 29.7 kB / 0.9103 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.2687, allocations: 128 kB / 0.9105 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.2688, allocations: 59.11 kB / 0.9105 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.2688, allocations: 4 kB / 0.9105 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.2689, allocations: 330.8 kB / 0.9108 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.2691, allocations: 60.42 kB / 0.9109 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.2693, allocations: 143 kB / 0.911 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.2695, allocations: 79.88 kB / 0.9111 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2695, allocations: 0 / 0.9111 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005187/0.27, allocations: 255.8 kB / 0.9114 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.27, allocations: 7.953 kB / 0.9114 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2701, allocations: 4 kB / 0.9114 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2701, allocations: 4 kB / 0.9114 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.2704, allocations: 63.89 kB / 0.9114 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2705, allocations: 8 kB / 0.9114 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.2707, allocations: 43.98 kB / 0.9115 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2707, allocations: 15.92 kB / 0.9115 GB, free: 51.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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 9.401e-05/0.2708, allocations: 129.8 kB / 0.9116 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2709, allocations: 11.91 kB / 0.9116 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.2714, allocations: 224.8 kB / 0.9118 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2715, allocations: 4 kB / 0.9118 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2715, allocations: 7.953 kB / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2715, allocations: 0 / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.2717, allocations: 249.4 kB / 0.9121 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2717, allocations: 0 / 0.9121 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.272, allocations: 47.97 kB / 0.9121 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.272, allocations: 4 kB / 0.9121 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2721, allocations: 7.922 kB / 0.9122 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2721, allocations: 3.953 kB / 0.9122 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2721, allocations: 3.938 kB / 0.9122 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.2726, allocations: 297.5 kB / 0.9124 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.2727, allocations: 108.8 kB / 0.9125 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.2727, allocations: 7.984 kB / 0.9126 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.273, allocations: 11.98 kB / 0.9126 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.273, allocations: 19.94 kB / 0.9126 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.273, allocations: 8 kB / 0.9126 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.2731, allocations: 117.3 kB / 0.9127 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2731, allocations: 0 / 0.9127 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003657/0.2735, allocations: 52 kB / 0.9128 GB, free: 50.45 MB / 0.6042 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.000813/0.2743, allocations: 0.8607 MB / 0.9136 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.2748, allocations: 183.7 kB / 0.9138 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2748, allocations: 0 / 0.9138 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.275, allocations: 90.23 kB / 0.9139 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2754, allocations: 51.89 kB / 0.9139 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.2777, allocations: 2.599 MB / 0.9164 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.2779, allocations: 0.7215 MB / 0.9171 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003558/0.2782, allocations: 45.95 kB / 0.9172 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2784, allocations: 51.41 kB / 0.9172 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2784, allocations: 0 / 0.9172 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.2932, allocations: 4.582 MB / 0.9217 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.2934, allocations: 235.9 kB / 0.9219 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.203, allocations: 0 / 0.9219 GB, free: 41.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)