Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.406/2.406, allocations: 248.5 MB / 261.1 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001513, allocations: 179.3 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001142/0.001142, allocations: 92.72 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.063e-05, allocations: 3.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2159, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.458, allocations: 373.1 MB / 1.255 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.458, allocations: 67.16 kB / 1.255 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6727/2.131, allocations: 19.23 MB / 1.274 GB, free: 324 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/2.131, allocations: 4.688 kB / 1.274 GB, free: 324 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.421e-05/2.131, allocations: 10.69 kB / 1.274 GB, free: 324 MB / 0.8698 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.0009301/2.132, allocations: 470.6 kB / 1.274 GB, free: 323.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/2.132, allocations: 10.16 kB / 1.274 GB, free: 323.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/2.132, allocations: 50.61 kB / 1.274 GB, free: 323.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/2.132, allocations: 25.78 kB / 1.274 GB, free: 323.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/2.132, allocations: 213.1 kB / 1.275 GB, free: 323.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/2.132, allocations: 14.03 kB / 1.275 GB, free: 323.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/2.132, allocations: 18.92 kB / 1.275 GB, free: 323.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/2.133, allocations: 245.3 kB / 1.275 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/2.133, allocations: 1.062 kB / 1.275 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/2.133, allocations: 9.062 kB / 1.275 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/2.133, allocations: 10.73 kB / 1.275 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/2.134, allocations: 421.6 kB / 1.275 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/2.136, allocations: 1.032 MB / 1.276 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/2.136, allocations: 166 kB / 1.276 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/2.136, allocations: 56.47 kB / 1.277 GB, free: 322.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/2.138, allocations: 1.925 MB / 1.278 GB, free: 320.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/2.138, allocations: 36.3 kB / 1.278 GB, free: 320.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.614e-06/2.138, allocations: 0.5625 kB / 1.278 GB, free: 320.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004529/2.139, allocations: 118.9 kB / 1.279 GB, free: 320.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/2.139, allocations: 53.22 kB / 1.279 GB, free: 320.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/2.139, allocations: 144.9 kB / 1.279 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/2.139, allocations: 30.67 kB / 1.279 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/2.139, allocations: 142 kB / 1.279 GB, free: 320 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/2.139, allocations: 60.56 kB / 1.279 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/2.139, allocations: 2.844 kB / 1.279 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/2.139, allocations: 325.5 kB / 1.279 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/2.14, allocations: 33.48 kB / 1.279 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/2.14, allocations: 142.3 kB / 1.279 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/2.14, allocations: 53.66 kB / 1.279 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/2.14, allocations: 1.5 kB / 1.279 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005351/2.14, allocations: 212 kB / 1.28 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/2.14, allocations: 13.27 kB / 1.28 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/2.14, allocations: 4.844 kB / 1.28 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/2.141, allocations: 10.22 kB / 1.28 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/2.141, allocations: 63.64 kB / 1.28 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/2.141, allocations: 5.984 kB / 1.28 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/2.141, allocations: 26 kB / 1.28 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/2.141, allocations: 12.28 kB / 1.28 GB, free: 319.4 MB / 0.8698 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 () * 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.0001056/2.141, allocations: 124.8 kB / 1.28 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/2.141, allocations: 13.36 kB / 1.28 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/2.142, allocations: 157.3 kB / 1.28 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/2.142, allocations: 7.328 kB / 1.28 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/2.142, allocations: 0 / 1.28 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.006e-06/2.142, allocations: 2.281 kB / 1.28 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/2.142, allocations: 213 kB / 1.28 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/2.142, allocations: 1.828 kB / 1.28 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/2.143, allocations: 34.73 kB / 1.28 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.842e-06/2.143, allocations: 2.328 kB / 1.28 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/2.143, allocations: 1.922 kB / 1.28 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/2.143, allocations: 6.047 kB / 1.28 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/2.143, allocations: 0 / 1.28 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/2.143, allocations: 213.2 kB / 1.281 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/2.143, allocations: 119.2 kB / 1.281 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/2.143, allocations: 1.406 kB / 1.281 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/2.144, allocations: 14.81 kB / 1.281 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/2.144, allocations: 16.14 kB / 1.281 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/2.144, allocations: 13.33 kB / 1.281 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001157/2.144, allocations: 121 kB / 1.281 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/2.144, allocations: 4 kB / 1.281 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006289/2.144, allocations: 75.33 kB / 1.281 GB, free: 318.6 MB / 0.8698 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 () * 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.0008436/2.145, allocations: 0.8319 MB / 1.282 GB, free: 317.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003776/2.146, allocations: 118.8 kB / 1.282 GB, free: 317.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/2.146, allocations: 0 / 1.282 GB, free: 317.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/2.146, allocations: 51.55 kB / 1.282 GB, free: 317.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/2.146, allocations: 48.3 kB / 1.282 GB, free: 317.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/2.147, allocations: 242.7 kB / 1.282 GB, free: 317.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/2.148, allocations: 0.7183 MB / 1.283 GB, free: 317.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003141/2.148, allocations: 51.78 kB / 1.283 GB, free: 317.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/2.148, allocations: 49.97 kB / 1.283 GB, free: 317 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/2.148, allocations: 1.312 kB / 1.283 GB, free: 317 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/2.176, allocations: 5.012 MB / 1.288 GB, free: 316.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/2.176, allocations: 153.2 kB / 1.288 GB, free: 316.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/4.719, allocations: 0 / 1.288 GB, free: 316.3 MB / 0.8698 GB