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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 110.2 kB / 16.42 MB, free: 6.488 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.001002/0.001002, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 291.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 96.27 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3656, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002146/0.3677, allocations: 1.256 MB / 0.7683 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.3706, allocations: 2.497 MB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.3706, allocations: 0 / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.3706, allocations: 3.938 kB / 0.7707 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.3707, allocations: 3.938 kB / 0.7707 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.3712, allocations: 143.4 kB / 0.7708 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.3713, allocations: 35.91 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.3713, allocations: 3.984 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.3714, allocations: 19.94 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.3715, allocations: 11.97 kB / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3715, allocations: 4 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.3718, allocations: 115.7 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3718, allocations: 19.92 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.3718, allocations: 19.92 kB / 0.7711 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.372, allocations: 75.56 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.372, allocations: 0 / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.372, allocations: 0 / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3721, allocations: 0 / 0.7711 GB, free: 15.71 MB / 0.545 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.0003683/0.3724, allocations: 354 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3725, allocations: 8.031 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.3727, allocations: 16.83 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.3728, allocations: 168.4 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3728, allocations: 4.312 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3728, allocations: 8.375 kB / 0.7717 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.373, allocations: 76.36 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.373, allocations: 0 / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.373, allocations: 4 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.373, allocations: 0 / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.373, allocations: 11.92 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.3736, allocations: 482.8 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3737, allocations: 75.75 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.3738, allocations: 22.7 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3738, allocations: 3.938 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3738, allocations: 34.56 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3738, allocations: 0 / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005695/0.3744, allocations: 302.2 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3745, allocations: 102.8 kB / 0.7727 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.88e-05/0.3745, allocations: 101.8 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3746, allocations: 29.7 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.3746, allocations: 91.98 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3746, allocations: 23.62 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3747, allocations: 29.89 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3748, allocations: 322.8 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.3748, allocations: 15.98 kB / 0.7733 GB, free: 13.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.3749, allocations: 57.02 kB / 0.7734 GB, free: 13.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/0.3749, allocations: 69.61 kB / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.375, allocations: 4 kB / 0.7735 GB, free: 12.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001391/0.3751, allocations: 97.53 kB / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3751, allocations: 4 kB / 0.7735 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3751, allocations: 4 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3751, allocations: 128 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.3752, allocations: 23.98 kB / 0.7736 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3752, allocations: 7.938 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.3753, allocations: 3.906 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3753, allocations: 4 kB / 0.7736 GB, free: 12.84 MB / 0.545 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.673e-05/0.3754, allocations: 121.7 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.3755, allocations: 7.984 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3755, allocations: 7.562 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3755, allocations: 4 kB / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3755, allocations: 4 kB / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.3756, allocations: 85.11 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3756, allocations: 7.922 kB / 0.7738 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.3758, allocations: 4 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.3758, allocations: 0 / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002225/0.376, allocations: 319.3 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002449/0.3763, allocations: 409.4 kB / 0.7745 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.428e-05/0.3763, allocations: 20.06 kB / 0.7745 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.3763, allocations: 83.27 kB / 0.7746 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Backend: time 5.41e-07/0.3764, allocations: 0 / 0.7746 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.377, allocations: 159.3 kB / 0.7748 GB, free: 11.57 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006333/0.3776, allocations: 0.7651 MB / 0.7755 GB, free: 10.76 MB / 0.545 GB Notification: Performance of Templates: time 0.003482/0.3811, allocations: 1.274 MB / 0.7768 GB, free: 9.523 MB / 0.545 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)