Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001717/0.001717, allocations: 112.7 kB / 16.42 MB, free: 6.441 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.001957/0.001957, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 68.09 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6963, allocations: 151.7 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002002/0.6984, allocations: 1.26 MB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.7011, allocations: 2.505 MB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.7011, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.7012, allocations: 3.984 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.7012, allocations: 7.938 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.7017, allocations: 131.4 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.7018, allocations: 43.86 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 2.973e-05/0.7018, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.7019, allocations: 19.91 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.702, allocations: 19.92 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.702, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.7023, allocations: 115.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.7023, allocations: 11.98 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.7023, allocations: 11.92 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.7025, allocations: 87.64 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7025, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7025, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.7026, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 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.000353/0.7029, allocations: 349.4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.703, allocations: 12.92 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.7032, allocations: 16.83 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.7033, allocations: 164.3 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.7033, allocations: 4.375 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.7033, allocations: 8.375 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.7034, allocations: 76.38 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7035, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.7035, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7035, allocations: 3.938 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.7035, allocations: 11.94 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.7041, allocations: 478.8 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.7042, allocations: 75.72 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.7043, allocations: 26.66 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-06/0.7043, allocations: 4 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.7043, allocations: 30.56 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.7043, allocations: 3.938 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0005554/0.7049, allocations: 302.2 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.7049, allocations: 103.1 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.705, allocations: 106.2 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.705, allocations: 25.7 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.7051, allocations: 92.03 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.7051, allocations: 23.56 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.7051, allocations: 29.7 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.7052, allocations: 322.8 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.7053, allocations: 15.92 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.445e-05/0.7053, allocations: 53.16 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.217e-05/0.7054, allocations: 69.08 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7054, allocations: 4 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001276/0.7055, allocations: 89.55 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7056, allocations: 8 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7056, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7056, allocations: 4 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.7057, allocations: 31.98 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7057, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.7057, allocations: 4 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.7057, allocations: 4 kB / 1.174 GB, free: 12.73 MB / 0.9044 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 7.012e-05/0.7058, allocations: 125.8 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.7059, allocations: 11.84 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.7059, allocations: 7.562 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7059, allocations: 3.984 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.7059, allocations: 0 / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.706, allocations: 81.11 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.706, allocations: 11.94 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.7062, allocations: 7.922 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.7062, allocations: 8 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002047/0.7065, allocations: 303.4 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002327/0.7067, allocations: 417.3 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.278e-05/0.7067, allocations: 20.03 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.7068, allocations: 75.28 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of Backend: time 3.2e-07/0.7068, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006018/0.7074, allocations: 168.5 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005971/0.708, allocations: 0.7573 MB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of Templates: time 0.003559/0.7116, allocations: 1.272 MB / 1.177 GB, free: 9.406 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)