Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_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.00163/0.00163, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001838/0.001838, allocations: 192.4 kB / 17.35 MB, free: 5.734 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.145/2.145, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6719, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002037/0.674, allocations: 1.265 MB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.6765, allocations: 2.491 MB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.6766, allocations: 0 / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.6766, allocations: 4.5 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.6767, allocations: 2.031 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.6771, allocations: 145.2 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.6772, allocations: 30.89 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.6773, allocations: 3.078 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.6773, allocations: 23.88 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.6774, allocations: 14.25 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.6774, allocations: 1.5 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.6777, allocations: 120.4 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.6777, allocations: 7.578 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.6778, allocations: 17.56 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.678, allocations: 81.09 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.678, allocations: 8 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.72e-07/0.678, allocations: 0.7188 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.678, allocations: 0 / 1.093 GB, free: 2.668 MB / 0.8575 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.0003015/0.6783, allocations: 346.1 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6783, allocations: 9.75 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.6786, allocations: 16 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/0.6787, allocations: 170.2 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.6787, allocations: 2.5 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.6787, allocations: 12.03 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.6789, allocations: 76.47 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6789, allocations: 0.6562 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6789, allocations: 4.75 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.6789, allocations: 1.406 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.6789, allocations: 16.86 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.6794, allocations: 478.4 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.6795, allocations: 69.42 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.6796, allocations: 28.17 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.6796, allocations: 0.875 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.6796, allocations: 37.61 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.6796, allocations: 0 / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005269/0.6801, allocations: 302.8 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.6802, allocations: 107.8 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.6802, allocations: 101 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.6802, allocations: 26.64 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.6803, allocations: 85.8 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.6803, allocations: 29.39 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.6803, allocations: 28.09 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.6804, allocations: 317.3 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.6804, allocations: 18.45 kB / 1.095 GB, free: 380 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.6805, allocations: 55.81 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.6805, allocations: 76.89 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6805, allocations: 0 / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001334/0.6807, allocations: 91.11 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6807, allocations: 5.594 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6807, allocations: 1.625 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6807, allocations: 3.281 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.6808, allocations: 22.83 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6808, allocations: 2.891 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.6809, allocations: 6.156 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.6809, allocations: 8.25 kB / 1.095 GB, free: 184 kB / 0.8575 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 4.674e-05/0.6809, allocations: 121.7 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.681, allocations: 7.172 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.681, allocations: 9.984 kB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.681, allocations: 5.453 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6811, allocations: 0.6562 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.6812, allocations: 82.58 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.6812, allocations: 10.05 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.6814, allocations: 7.797 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.6814, allocations: 8.938 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000257/0.6817, allocations: 304.2 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000267/0.682, allocations: 419.8 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.859e-05/0.682, allocations: 19.47 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.6821, allocations: 79.2 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of Backend: time 2.51e-07/0.6821, allocations: 3.938 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006325/0.6827, allocations: 155.8 kB / 1.096 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007256/0.6834, allocations: 0.756 MB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.003885/0.6873, allocations: 1.275 MB / 1.098 GB, free: 14.18 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)