Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.636/1.636, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009998/0.0009997, allocations: 190.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008288/0.0008289, allocations: 96.84 kB / 0.7808 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 12 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.799, allocations: 120.3 MB / 1.026 GB, free: 56.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.98/1.779, allocations: 354.6 MB / 1.373 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.779, allocations: 83.59 kB / 1.373 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02268/1.802, allocations: 8.291 MB / 1.381 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.755e-06/1.802, allocations: 0 / 1.381 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.318e-06/1.802, allocations: 1.031 kB / 1.381 GB, free: 230.8 MB / 0.8855 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.0003892/1.803, allocations: 357.7 kB / 1.381 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.803, allocations: 9.344 kB / 1.381 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/1.803, allocations: 9.969 kB / 1.381 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/1.803, allocations: 165.5 kB / 1.381 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.803, allocations: 1.781 kB / 1.381 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/1.803, allocations: 11.41 kB / 1.381 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/1.803, allocations: 72.19 kB / 1.381 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.803, allocations: 4.188 kB / 1.381 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.803, allocations: 5.156 kB / 1.381 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.803, allocations: 2.141 kB / 1.381 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/1.803, allocations: 11.09 kB / 1.381 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/1.804, allocations: 468.4 kB / 1.382 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/1.804, allocations: 74.06 kB / 1.382 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/1.804, allocations: 22.67 kB / 1.382 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/1.804, allocations: 1.062 kB / 1.382 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.804, allocations: 44.25 kB / 1.382 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/1.804, allocations: 0 / 1.382 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0006592/1.805, allocations: 304.7 kB / 1.382 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/1.805, allocations: 105.2 kB / 1.382 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/1.805, allocations: 101.4 kB / 1.382 GB, free: 229 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/1.805, allocations: 35.17 kB / 1.383 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/1.805, allocations: 89.02 kB / 1.383 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.805, allocations: 26.06 kB / 1.383 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.805, allocations: 1.531 kB / 1.383 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/1.805, allocations: 316.3 kB / 1.383 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/1.805, allocations: 14.77 kB / 1.383 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/1.805, allocations: 59.72 kB / 1.383 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/1.805, allocations: 74.42 kB / 1.383 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.805, allocations: 0 / 1.383 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001501/1.806, allocations: 98.92 kB / 1.383 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.806, allocations: 5.594 kB / 1.383 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.806, allocations: 1.312 kB / 1.383 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.806, allocations: 2.188 kB / 1.383 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/1.806, allocations: 23.55 kB / 1.383 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.806, allocations: 6.531 kB / 1.383 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/1.806, allocations: 1.531 kB / 1.383 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/1.806, allocations: 3.812 kB / 1.383 GB, free: 228.3 MB / 0.8855 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 () * Number of clocked 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 7.122e-05/1.806, allocations: 121.9 kB / 1.383 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/1.806, allocations: 3.656 kB / 1.383 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/1.806, allocations: 7.562 kB / 1.383 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.806, allocations: 5.781 kB / 1.383 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.806, allocations: 1.031 kB / 1.383 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.806, allocations: 1.25 kB / 1.383 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/1.806, allocations: 180.7 kB / 1.383 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.806, allocations: 2.422 kB / 1.384 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/1.806, allocations: 16.81 kB / 1.384 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/1.806, allocations: 1.156 kB / 1.384 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/1.807, allocations: 2.188 kB / 1.384 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.807, allocations: 9.156 kB / 1.384 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.807, allocations: 1.125 kB / 1.384 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/1.807, allocations: 330.5 kB / 1.384 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/1.807, allocations: 83.8 kB / 1.384 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/1.807, allocations: 1.156 kB / 1.384 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/1.807, allocations: 7.188 kB / 1.384 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/1.807, allocations: 6.969 kB / 1.384 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/1.807, allocations: 10.48 kB / 1.384 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.003e-05/1.807, allocations: 77.62 kB / 1.384 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/1.807, allocations: 0 / 1.384 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003238/1.807, allocations: 15.59 kB / 1.384 GB, free: 227.5 MB / 0.8855 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 () * Number of clocked 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.000177/1.808, allocations: 122.6 kB / 1.384 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001315/1.808, allocations: 45.84 kB / 1.384 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.808, allocations: 1.906 kB / 1.384 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/1.808, allocations: 19.47 kB / 1.384 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/1.808, allocations: 7.25 kB / 1.384 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/1.809, allocations: 406.6 kB / 1.385 GB, free: 227 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/1.809, allocations: 0.6819 MB / 1.385 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.082e-05/1.809, allocations: 12.72 kB / 1.385 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/1.809, allocations: 11.56 kB / 1.385 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/1.809, allocations: 0 / 1.385 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.003076/1.812, allocations: 0.6034 MB / 1.386 GB, free: 226.3 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)