Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6301/0.6301, allocations: 117.9 MB / 133.9 MB, free: 4.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 184.1 kB / 161.7 MB, free: 2.723 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.4 MB / 394.8 MB, free: 20.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009502/0.0009503, allocations: 98.27 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 12 kB / 0.5423 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3982, allocations: 74.53 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7527/1.151, allocations: 309.6 MB / 0.9175 GB, free: 5.332 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.151, allocations: 82.83 kB / 0.9175 GB, free: 5.285 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04197/1.193, allocations: 17.17 MB / 0.9343 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/1.193, allocations: 0 / 0.9343 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.636e-05/1.193, allocations: 8 kB / 0.9343 GB, free: 6.812 MB / 0.5886 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.0009518/1.194, allocations: 482.8 kB / 0.9348 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.194, allocations: 12.03 kB / 0.9348 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/1.196, allocations: 172 kB / 0.935 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/1.197, allocations: 211.6 kB / 0.9352 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/1.197, allocations: 12.64 kB / 0.9352 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/1.197, allocations: 16.25 kB / 0.9352 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/1.197, allocations: 305.8 kB / 0.9355 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/1.197, allocations: 4.125 kB / 0.9355 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/1.197, allocations: 15.75 kB / 0.9355 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/1.197, allocations: 4 kB / 0.9355 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/1.198, allocations: 261.4 kB / 0.9357 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/1.2, allocations: 1.39 MB / 0.9371 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/1.201, allocations: 198.9 kB / 0.9373 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/1.201, allocations: 81.53 kB / 0.9374 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/1.201, allocations: 4 kB / 0.9374 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.201, allocations: 42.27 kB / 0.9374 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.475e-06/1.201, allocations: 0 / 0.9374 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007433/1.202, allocations: 243.3 kB / 0.9376 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.202, allocations: 55.41 kB / 0.9377 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/1.202, allocations: 155.5 kB / 0.9378 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/1.202, allocations: 29.64 kB / 0.9379 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/1.202, allocations: 123.8 kB / 0.938 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/1.202, allocations: 62.72 kB / 0.9381 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/1.202, allocations: 3.938 kB / 0.9381 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.202, allocations: 330.3 kB / 0.9384 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/1.203, allocations: 63.59 kB / 0.9384 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/1.203, allocations: 139.5 kB / 0.9386 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/1.203, allocations: 220 kB / 0.9388 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.203, allocations: 0 / 0.9388 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005958/1.204, allocations: 256.4 kB / 0.939 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.204, allocations: 4 kB / 0.939 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.204, allocations: 4 kB / 0.939 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.204, allocations: 4.312 kB / 0.939 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/1.204, allocations: 67.89 kB / 0.9391 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/1.204, allocations: 4 kB / 0.9391 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/1.205, allocations: 35.55 kB / 0.9391 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/1.205, allocations: 19.8 kB / 0.9392 GB, free: 2.004 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001542/1.205, allocations: 125.2 kB / 0.9393 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/1.205, allocations: 15.75 kB / 0.9393 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/1.206, allocations: 229 kB / 0.9395 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.206, allocations: 7.938 kB / 0.9395 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.206, allocations: 0 / 0.9395 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.206, allocations: 0 / 0.9395 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/1.206, allocations: 247.9 kB / 0.9398 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.206, allocations: 0 / 0.9398 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/1.206, allocations: 47.91 kB / 0.9398 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.206, allocations: 0 / 0.9398 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/1.206, allocations: 11.23 kB / 0.9398 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.206, allocations: 8 kB / 0.9398 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.207, allocations: 0 / 0.9398 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/1.207, allocations: 294.1 kB / 0.9401 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/1.207, allocations: 108.6 kB / 0.9402 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/1.207, allocations: 3.938 kB / 0.9402 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/1.208, allocations: 19.3 kB / 0.9402 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/1.208, allocations: 11.48 kB / 0.9402 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/1.208, allocations: 11.98 kB / 0.9402 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001104/1.208, allocations: 114.5 kB / 0.9404 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.5e-07/1.208, allocations: 0 / 0.9404 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004368/1.208, allocations: 59.36 kB / 0.9404 GB, free: 0.7812 MB / 0.5886 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0003425/1.209, allocations: 144.8 kB / 0.9405 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000555/1.209, allocations: 183.9 kB / 0.9407 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.209, allocations: 4 kB / 0.9407 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/1.209, allocations: 87.02 kB / 0.9408 GB, free: 436 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/1.21, allocations: 68.05 kB / 0.9409 GB, free: 380 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.211, allocations: 489 kB / 0.9413 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/1.212, allocations: 0.7137 MB / 0.942 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004023/1.212, allocations: 53.92 kB / 0.9421 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.37e-05/1.212, allocations: 27.36 kB / 0.9421 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/1.212, allocations: 0 / 0.9421 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.007955/1.22, allocations: 3.148 MB / 0.9452 GB, free: 12 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)