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.001011/0.001011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008577/0.008578, allocations: 170 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 8.062 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3949, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006386/0.4013, allocations: 4.373 MB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.4046, allocations: 2.691 MB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.4048, allocations: 0 / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.4052, allocations: 35.81 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.4056, allocations: 95.47 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.4072, allocations: 460.5 kB / 1.082 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.4076, allocations: 303.9 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.043e-05/0.4076, allocations: 13.56 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.4078, allocations: 115.5 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.408, allocations: 91.66 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.408, allocations: 4 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007337/0.4088, allocations: 367.2 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.4089, allocations: 43.83 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.409, allocations: 105.3 kB / 1.083 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.4096, allocations: 359.3 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4097, allocations: 0 / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4097, allocations: 7.938 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4097, allocations: 0 / 1.083 GB, free: 14.52 MB / 0.8419 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.0007472/0.4104, allocations: 467.3 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4105, allocations: 12.03 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.4106, allocations: 16.84 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.4109, allocations: 216 kB / 1.084 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4109, allocations: 12.7 kB / 1.084 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.411, allocations: 20.31 kB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.4114, allocations: 248.2 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4114, allocations: 0 / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.4115, allocations: 12 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.4115, allocations: 7.938 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.412, allocations: 439.4 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4132, allocations: 0.9488 MB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.4135, allocations: 161.7 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.4136, allocations: 65.47 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/0.4153, allocations: 1.825 MB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.4154, allocations: 42.48 kB / 1.087 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.4154, allocations: 4 kB / 1.087 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003245/0.4157, allocations: 139.8 kB / 1.087 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4158, allocations: 55.34 kB / 1.087 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.416, allocations: 175.2 kB / 1.088 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.416, allocations: 29.7 kB / 1.088 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.4161, allocations: 143.8 kB / 1.088 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.4161, allocations: 55.2 kB / 1.088 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.4162, allocations: 25.72 kB / 1.088 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4163, allocations: 326.8 kB / 1.088 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.4164, allocations: 35.98 kB / 1.088 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4165, allocations: 138.2 kB / 1.088 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.4168, allocations: 193.5 kB / 1.089 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4168, allocations: 8 kB / 1.089 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003207/0.4171, allocations: 210.7 kB / 1.089 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4171, allocations: 9.406 kB / 1.089 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4171, allocations: 4.469 kB / 1.089 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4172, allocations: 8 kB / 1.089 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.4174, allocations: 59.84 kB / 1.089 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4174, allocations: 8 kB / 1.089 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4175, allocations: 23.69 kB / 1.089 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4175, allocations: 16 kB / 1.089 GB, free: 7.699 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.0002463/0.4178, allocations: 133.7 kB / 1.089 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.4178, allocations: 15.81 kB / 1.089 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.4181, allocations: 159 kB / 1.089 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.4182, allocations: 3.938 kB / 1.089 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4182, allocations: 0 / 1.089 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4182, allocations: 0 / 1.089 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.4185, allocations: 221.4 kB / 1.089 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4185, allocations: 4 kB / 1.089 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-05/0.4186, allocations: 27.92 kB / 1.089 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.4186, allocations: 4 kB / 1.089 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4186, allocations: 4 kB / 1.089 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4186, allocations: 3.938 kB / 1.089 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4186, allocations: 4 kB / 1.089 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.4188, allocations: 221.2 kB / 1.09 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.4189, allocations: 104.9 kB / 1.09 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.419, allocations: 7.984 kB / 1.09 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4192, allocations: 19.92 kB / 1.09 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.4192, allocations: 15.98 kB / 1.09 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.4193, allocations: 12 kB / 1.09 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.96e-05/0.4194, allocations: 120.9 kB / 1.09 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4194, allocations: 0 / 1.09 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005204/0.4199, allocations: 83.84 kB / 1.09 GB, free: 6.457 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.0003549/0.4203, allocations: 179 kB / 1.09 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.4205, allocations: 119.7 kB / 1.09 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4206, allocations: 0 / 1.09 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.4206, allocations: 49.59 kB / 1.09 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.4211, allocations: 48.91 kB / 1.09 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.4219, allocations: 429.5 kB / 1.091 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4222, allocations: 0.717 MB / 1.091 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.4224, allocations: 49.73 kB / 1.092 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.4225, allocations: 19.44 kB / 1.092 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4225, allocations: 0 / 1.092 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of Templates: time 0.007547/0.43, allocations: 3.314 MB / 1.095 GB, free: 1.527 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)