Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001178/0.001179, allocations: 192.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7448 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.09 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3344, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005555/0.34, allocations: 4.743 MB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.3426, allocations: 2.691 MB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.3427, allocations: 7.938 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.343, allocations: 35.8 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.3432, allocations: 95.48 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3443, allocations: 469.3 kB / 1.076 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.3445, allocations: 239.9 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3446, allocations: 9.562 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3447, allocations: 119.5 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3449, allocations: 91.66 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3449, allocations: 8 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005786/0.3455, allocations: 371.2 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.3456, allocations: 39.83 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.3457, allocations: 79.66 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.3462, allocations: 367.3 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3462, allocations: 3.938 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3462, allocations: 4 kB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.3462, allocations: 0 / 1.077 GB, free: 1.48 MB / 0.8262 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.0007031/0.3469, allocations: 0.4971 MB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3469, allocations: 8.031 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.3471, allocations: 24.73 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3473, allocations: 212.1 kB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3473, allocations: 16.7 kB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3474, allocations: 16.38 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.3478, allocations: 248.2 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3478, allocations: 0 / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.3478, allocations: 15.94 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.3479, allocations: 4 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.3483, allocations: 431.5 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3494, allocations: 0.9487 MB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3497, allocations: 163.5 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.3498, allocations: 70.12 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.3511, allocations: 1.821 MB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3512, allocations: 38.56 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3512, allocations: 3.938 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.000332/0.3515, allocations: 156.3 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.3516, allocations: 55.34 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3517, allocations: 171.3 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3518, allocations: 29.7 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.3519, allocations: 139.8 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.3519, allocations: 55.2 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.352, allocations: 53.69 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3521, allocations: 326.8 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.3522, allocations: 35.98 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3523, allocations: 142.2 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.3525, allocations: 193.5 kB / 1.082 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3525, allocations: 4 kB / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003087/0.3529, allocations: 214.6 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3529, allocations: 11.94 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3529, allocations: 4.469 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3529, allocations: 8 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3531, allocations: 59.84 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3531, allocations: 4 kB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3532, allocations: 31.69 kB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3533, allocations: 12 kB / 1.083 GB, free: 10.59 MB / 0.8419 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.000112/0.3534, allocations: 133.8 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.3534, allocations: 15.81 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3537, allocations: 154.9 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3537, allocations: 7.938 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3538, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3538, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.354, allocations: 221.4 kB / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.354, allocations: 0 / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.3541, allocations: 23.98 kB / 1.083 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3541, allocations: 0 / 1.083 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3541, allocations: 8 kB / 1.083 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3542, allocations: 3.938 kB / 1.083 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3542, allocations: 4 kB / 1.083 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3544, allocations: 229.1 kB / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.3545, allocations: 105 kB / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3545, allocations: 3.984 kB / 1.084 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3547, allocations: 19.92 kB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3548, allocations: 7.984 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3548, allocations: 12 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.208e-05/0.3549, allocations: 128.9 kB / 1.084 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3549, allocations: 0 / 1.084 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003768/0.3553, allocations: 75.94 kB / 1.084 GB, free: 9.359 MB / 0.8419 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.0003498/0.3556, allocations: 175.1 kB / 1.084 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.3559, allocations: 123.7 kB / 1.084 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3559, allocations: 4 kB / 1.084 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.356, allocations: 43.92 kB / 1.084 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3564, allocations: 70.55 kB / 1.084 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.3571, allocations: 390.9 kB / 1.085 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3574, allocations: 0.7168 MB / 1.085 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.3576, allocations: 41.81 kB / 1.085 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.3576, allocations: 27.44 kB / 1.085 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3576, allocations: 0 / 1.085 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of Templates: time 0.006592/0.3642, allocations: 3.407 MB / 1.089 GB, free: 4.359 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_1.6_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe 2>&1)