Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7934/0.7934, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 168.9 kB / 182.2 MB, free: 9.488 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 90.45 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001721, allocations: 272.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.625e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3898, allocations: 82.76 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6828/1.073, allocations: 321.3 MB / 1.071 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.073, allocations: 75.83 kB / 1.071 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01924/1.092, allocations: 8.23 MB / 1.079 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/1.092, allocations: 0 / 1.079 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.092, allocations: 0 / 1.079 GB, free: 4.285 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002882/1.093, allocations: 353.4 kB / 1.08 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/1.093, allocations: 11.97 kB / 1.08 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/1.093, allocations: 19.55 kB / 1.08 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/1.093, allocations: 159.1 kB / 1.08 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/1.093, allocations: 3.953 kB / 1.08 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/1.093, allocations: 11.91 kB / 1.08 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.879e-05/1.093, allocations: 4 kB / 1.08 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.695e-05/1.093, allocations: 66.83 kB / 1.08 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/1.093, allocations: 0 / 1.08 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/1.093, allocations: 0 / 1.08 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.093, allocations: 4 kB / 1.08 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/1.094, allocations: 442.2 kB / 1.08 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/1.094, allocations: 71.09 kB / 1.08 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/1.094, allocations: 25.83 kB / 1.08 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-06/1.094, allocations: 0 / 1.08 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/1.094, allocations: 30.56 kB / 1.08 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 3.477e-06/1.094, allocations: 4 kB / 1.08 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004987/1.094, allocations: 288.2 kB / 1.081 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.094, allocations: 106.8 kB / 1.081 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/1.094, allocations: 96.36 kB / 1.081 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/1.094, allocations: 25.7 kB / 1.081 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/1.094, allocations: 88.05 kB / 1.081 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/1.094, allocations: 22.95 kB / 1.081 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-06/1.094, allocations: 4 kB / 1.081 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/1.095, allocations: 317.4 kB / 1.081 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/1.095, allocations: 15.25 kB / 1.081 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/1.095, allocations: 51.33 kB / 1.081 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/1.095, allocations: 15.36 kB / 1.081 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/1.095, allocations: 4 kB / 1.081 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001113/1.095, allocations: 80.16 kB / 1.081 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.095, allocations: 4 kB / 1.081 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.095, allocations: 7.938 kB / 1.081 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.095, allocations: 7.922 kB / 1.081 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/1.095, allocations: 16 kB / 1.081 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/1.095, allocations: 4 kB / 1.082 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/1.095, allocations: 0 / 1.082 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/1.095, allocations: 7.438 kB / 1.082 GB, free: 1.715 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.302e-05/1.095, allocations: 117 kB / 1.082 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/1.095, allocations: 4 kB / 1.082 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/1.095, allocations: 10.73 kB / 1.082 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/1.095, allocations: 0 / 1.082 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.095, allocations: 4 kB / 1.082 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.095, allocations: 0 / 1.082 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/1.095, allocations: 153.7 kB / 1.082 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.095, allocations: 3.953 kB / 1.082 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/1.096, allocations: 12 kB / 1.082 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.096, allocations: 0 / 1.082 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/1.096, allocations: 8 kB / 1.082 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.096, allocations: 0 / 1.082 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.096, allocations: 3.984 kB / 1.082 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/1.096, allocations: 347 kB / 1.082 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/1.096, allocations: 85.11 kB / 1.082 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/1.096, allocations: 8.031 kB / 1.082 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/1.096, allocations: 0 / 1.082 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/1.096, allocations: 7.875 kB / 1.082 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/1.096, allocations: 4 kB / 1.082 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.262e-05/1.096, allocations: 79.27 kB / 1.082 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/1.096, allocations: 0 / 1.082 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003233/1.097, allocations: 16 kB / 1.082 GB, free: 0.8008 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001318/1.097, allocations: 107.7 kB / 1.082 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.025e-05/1.097, allocations: 43.25 kB / 1.082 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.097, allocations: 0 / 1.082 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.091e-05/1.097, allocations: 15.11 kB / 1.082 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/1.097, allocations: 8.969 kB / 1.082 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/1.098, allocations: 298.7 kB / 1.083 GB, free: 328 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/1.098, allocations: 0.6891 MB / 1.083 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.102e-05/1.098, allocations: 8 kB / 1.083 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/1.098, allocations: 11.44 kB / 1.083 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.098, allocations: 0 / 1.083 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.002377/1.1, allocations: 0.5694 MB / 1.084 GB, free: 15.06 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)