Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.204/2.204, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 199.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 99.75 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001099, allocations: 52.73 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3033, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005755/0.3091, allocations: 4.747 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.3114, allocations: 2.722 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.3115, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.3118, allocations: 43.73 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.3121, allocations: 83.48 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009945/0.3131, allocations: 464.7 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.3133, allocations: 311.8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.3134, allocations: 9.562 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.3135, allocations: 107.6 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3137, allocations: 99.59 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.3137, allocations: 8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000601/0.3143, allocations: 375.1 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.398e-05/0.3144, allocations: 35.89 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.3145, allocations: 75.67 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.3149, allocations: 361.2 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.315, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.81e-07/0.315, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.315, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 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.0006369/0.3156, allocations: 0.5109 MB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.3157, allocations: 15.98 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3158, allocations: 24.73 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.316, allocations: 208.1 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.316, allocations: 12.7 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3161, allocations: 12.38 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.3164, allocations: 254.2 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3164, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3164, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.3164, allocations: 8 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.3168, allocations: 435.5 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.3177, allocations: 0.9448 MB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.318, allocations: 162 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.3181, allocations: 68.88 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009084/0.319, allocations: 1.821 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.319, allocations: 34.56 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.3191, allocations: 0 / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0003003/0.3194, allocations: 149.3 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.3194, allocations: 59.34 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3195, allocations: 173.9 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3195, allocations: 29.7 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.3196, allocations: 143.8 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.3196, allocations: 47.27 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.3197, allocations: 57.61 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.3198, allocations: 326.8 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.3198, allocations: 31.98 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.49e-05/0.3199, allocations: 148.8 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3201, allocations: 201.5 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3201, allocations: 0 / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002532/0.3204, allocations: 227.1 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3204, allocations: 4 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3204, allocations: 4 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3204, allocations: 12 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3206, allocations: 55.84 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3206, allocations: 4.469 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.3207, allocations: 31.75 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3207, allocations: 12 kB / 1.233 GB, free: 100.9 MB / 0.823 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 8.262e-05/0.3208, allocations: 134.4 kB / 1.233 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3209, allocations: 19.81 kB / 1.233 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3211, allocations: 155 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3211, allocations: 7.938 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3211, allocations: 0 / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3212, allocations: 4 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3213, allocations: 209.5 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3213, allocations: 0 / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.3214, allocations: 27.98 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3214, allocations: 0 / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3214, allocations: 0 / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3215, allocations: 11.88 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3215, allocations: 0 / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.3219, allocations: 0.8233 MB / 1.235 GB, free: 99.45 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.3219, allocations: 116.8 kB / 1.235 GB, free: 99.32 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.322, allocations: 4 kB / 1.235 GB, free: 99.31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.3222, allocations: 11.98 kB / 1.235 GB, free: 99.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.3222, allocations: 11.98 kB / 1.235 GB, free: 99.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3222, allocations: 12 kB / 1.235 GB, free: 99.28 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.479e-05/0.3223, allocations: 120.9 kB / 1.235 GB, free: 99.16 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3223, allocations: 4 kB / 1.235 GB, free: 99.16 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004254/0.3227, allocations: 79.98 kB / 1.235 GB, free: 99.08 MB / 0.823 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.0003427/0.3231, allocations: 183.1 kB / 1.235 GB, free: 98.89 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.3233, allocations: 120.1 kB / 1.235 GB, free: 98.77 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3233, allocations: 0 / 1.235 GB, free: 98.77 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.3233, allocations: 43.92 kB / 1.235 GB, free: 98.73 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.3238, allocations: 64.27 kB / 1.235 GB, free: 98.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.3244, allocations: 0.5187 MB / 1.236 GB, free: 98.11 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3246, allocations: 0.717 MB / 1.237 GB, free: 97.37 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.3247, allocations: 53.73 kB / 1.237 GB, free: 97.32 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.3248, allocations: 19.44 kB / 1.237 GB, free: 97.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3248, allocations: 0 / 1.237 GB, free: 97.3 MB / 0.823 GB Notification: Performance of Templates: time 0.005602/0.3304, allocations: 3.373 MB / 1.24 GB, free: 93.96 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1)