Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009523/0.0009522, allocations: 178.3 kB / 327.6 MB, free: 2.148 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.335/1.335, allocations: 205.4 MB / 0.5785 GB, free: 20.23 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.0006758/0.0006758, allocations: 99.73 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 16.06 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6996/0.8714, allocations: 373.4 MB / 1.266 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.8717, allocations: 68.39 kB / 1.266 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.04305/0.9148, allocations: 19.27 MB / 1.285 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9148, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.9149, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.7917 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.0006749/0.9155, allocations: 477.3 kB / 1.285 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.9156, allocations: 12.03 kB / 1.285 GB, free: 9.32 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.9157, allocations: 20.75 kB / 1.285 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.916, allocations: 217.8 kB / 1.285 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.916, allocations: 12.2 kB / 1.285 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.916, allocations: 16.06 kB / 1.285 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.9164, allocations: 245.5 kB / 1.286 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9164, allocations: 192 / 1.286 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.9164, allocations: 14.69 kB / 1.286 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.9164, allocations: 4 kB / 1.286 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.9169, allocations: 425.4 kB / 1.286 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.9179, allocations: 1.013 MB / 1.287 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.9182, allocations: 165.4 kB / 1.287 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.9183, allocations: 54.91 kB / 1.287 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.9195, allocations: 1.823 MB / 1.289 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.9195, allocations: 45.75 kB / 1.289 GB, free: 5.086 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 2.355e-06/0.9196, allocations: 3.984 kB / 1.289 GB, free: 5.082 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002845/0.9198, allocations: 143.4 kB / 1.289 GB, free: 4.961 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.9199, allocations: 51.41 kB / 1.289 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.92, allocations: 169.4 kB / 1.289 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.9201, allocations: 33.2 kB / 1.29 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.9201, allocations: 142.7 kB / 1.29 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.9202, allocations: 52.86 kB / 1.29 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.9202, allocations: 7.875 kB / 1.29 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.9203, allocations: 322.2 kB / 1.29 GB, free: 4.195 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.9204, allocations: 39.28 kB / 1.29 GB, free: 4.168 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.9205, allocations: 138.1 kB / 1.29 GB, free: 3.996 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.9207, allocations: 201 kB / 1.29 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9207, allocations: 0 / 1.29 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002845/0.921, allocations: 214.5 kB / 1.291 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.921, allocations: 14.81 kB / 1.291 GB, free: 3.594 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.921, allocations: 4 kB / 1.291 GB, free: 3.59 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.9211, allocations: 4 kB / 1.291 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.9212, allocations: 59.28 kB / 1.291 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.9212, allocations: 4 kB / 1.291 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.9214, allocations: 34.75 kB / 1.291 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.9214, allocations: 19.12 kB / 1.291 GB, free: 3.48 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.9215, allocations: 134.6 kB / 1.291 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.9216, allocations: 19.56 kB / 1.291 GB, free: 3.332 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.9218, allocations: 149.4 kB / 1.291 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.9219, allocations: 4 kB / 1.291 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9219, allocations: 0 / 1.291 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9219, allocations: 3.938 kB / 1.291 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.9221, allocations: 221.4 kB / 1.291 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.9221, allocations: 0 / 1.291 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9222, allocations: 31.17 kB / 1.291 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9223, allocations: 4 kB / 1.291 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.9223, allocations: 0 / 1.291 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9223, allocations: 0 / 1.291 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9223, allocations: 7.938 kB / 1.291 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.9225, allocations: 218.9 kB / 1.291 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.9226, allocations: 108.2 kB / 1.292 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.9226, allocations: 3.562 kB / 1.292 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.9228, allocations: 7.875 kB / 1.292 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.9228, allocations: 19.92 kB / 1.292 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.9228, allocations: 11.55 kB / 1.292 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.35e-05/0.9229, allocations: 118.4 kB / 1.292 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9229, allocations: 0 / 1.292 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003644/0.9233, allocations: 80.8 kB / 1.292 GB, free: 2.387 MB / 0.7917 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 (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.0002893/0.9236, allocations: 195.3 kB / 1.292 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.9238, allocations: 117 kB / 1.292 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9238, allocations: 3.938 kB / 1.292 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.9239, allocations: 49.55 kB / 1.292 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.9243, allocations: 50.86 kB / 1.292 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.9249, allocations: 424.2 kB / 1.293 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.9251, allocations: 0.7131 MB / 1.293 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.9253, allocations: 49.8 kB / 1.293 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.9253, allocations: 19.44 kB / 1.293 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of SimCode: time 3.61e-07/0.9253, allocations: 0 / 1.293 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of Templates: time 0.00635/0.9317, allocations: 3.431 MB / 1.297 GB, free: 13.4 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)