Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 195.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 61.91 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3783, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002468/0.3809, allocations: 1.323 MB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3839, allocations: 2.48 MB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.384, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.384, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.3841, allocations: 3.938 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.3847, allocations: 127.5 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.3848, allocations: 43.84 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.3848, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.3849, allocations: 23.92 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.3849, allocations: 19.91 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.385, allocations: 4 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.3852, allocations: 111.8 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.3853, allocations: 7.969 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.3853, allocations: 15.94 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3855, allocations: 84 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3855, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3855, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3856, allocations: 4 kB / 1.072 GB, free: 6.488 MB / 0.8262 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.0004606/0.386, allocations: 343.6 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.3861, allocations: 8.031 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3863, allocations: 20.83 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3864, allocations: 164.3 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3865, allocations: 4.375 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.3865, allocations: 8.359 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3867, allocations: 84.31 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3867, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3867, allocations: 7.875 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3867, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.3868, allocations: 12 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.3874, allocations: 478.8 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3875, allocations: 67.66 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.3876, allocations: 22.78 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3876, allocations: 8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3876, allocations: 34.56 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.375e-06/0.3876, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006184/0.3882, allocations: 294.2 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3883, allocations: 119 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.3884, allocations: 97.8 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3884, allocations: 29.7 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.3885, allocations: 84.05 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.3885, allocations: 35.55 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3885, allocations: 29.7 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3886, allocations: 318.8 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.3887, allocations: 8 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.3887, allocations: 53.14 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.3888, allocations: 81.53 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3888, allocations: 4 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001305/0.389, allocations: 93.58 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.389, allocations: 9.875 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.389, allocations: 0 / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.389, allocations: 4 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.3891, allocations: 19.98 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3891, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.3892, allocations: 8 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3892, allocations: 4.125 kB / 1.074 GB, free: 3.625 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.008e-05/0.3893, allocations: 129.7 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.3893, allocations: 3.906 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.3894, allocations: 11.56 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3894, allocations: 0 / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3894, allocations: 0 / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3894, allocations: 7.984 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.3897, allocations: 173.6 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3897, allocations: 8.047 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.3898, allocations: 16 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3898, allocations: 8 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3899, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3899, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3899, allocations: 4 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.3901, allocations: 329.8 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.3902, allocations: 85.14 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3902, allocations: 8 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3904, allocations: 4 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.3904, allocations: 4 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3904, allocations: 11.92 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.3904, allocations: 79.28 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3905, allocations: 0 / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003125/0.3908, allocations: 12 kB / 1.075 GB, free: 2.652 MB / 0.8262 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 (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.000143/0.3909, allocations: 111.2 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.3911, allocations: 43.92 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3911, allocations: 0 / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.3911, allocations: 23.92 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3915, allocations: 5.203 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.3922, allocations: 368.5 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3924, allocations: 0.6813 MB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.783e-05/0.3925, allocations: 15.77 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.3925, allocations: 11.44 kB / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3925, allocations: 0 / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.002853/0.3954, allocations: 0.6385 MB / 1.077 GB, free: 0.7344 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)