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.001342/0.001342, allocations: 103.9 kB / 16.41 MB, free: 6.5 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.001357/0.001357, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 284.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9074/0.9074, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 91.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4055, allocations: 86.98 MB / 0.767 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002064/0.4076, allocations: 1.265 MB / 0.7683 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.4106, allocations: 2.485 MB / 0.7707 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.4107, allocations: 4 kB / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.4107, allocations: 7.922 kB / 0.7707 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.4108, allocations: 7.938 kB / 0.7707 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.4114, allocations: 127.4 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.4115, allocations: 31.92 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.4116, allocations: 7.984 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.4116, allocations: 19.92 kB / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.4117, allocations: 15.98 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4117, allocations: 0 / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.412, allocations: 119.7 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.4121, allocations: 11.92 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.4121, allocations: 19.92 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.4123, allocations: 75.56 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4124, allocations: 0 / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4124, allocations: 0 / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4124, allocations: 0 / 0.7711 GB, free: 15.61 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.0004355/0.4128, allocations: 362 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4129, allocations: 8.031 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.4131, allocations: 20.83 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.4132, allocations: 160.4 kB / 0.7716 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4132, allocations: 4.312 kB / 0.7716 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.4133, allocations: 8.375 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4134, allocations: 72.38 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4134, allocations: 8 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4135, allocations: 0 / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4135, allocations: 0 / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.4135, allocations: 15.92 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.4141, allocations: 470.8 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.4143, allocations: 71.66 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.4143, allocations: 26.78 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.4143, allocations: 11.88 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4144, allocations: 34.56 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4144, allocations: 0 / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006526/0.415, allocations: 302.2 kB / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.4151, allocations: 106.8 kB / 0.7727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.4152, allocations: 97.86 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4152, allocations: 25.95 kB / 0.7728 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.4152, allocations: 99.97 kB / 0.7729 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.4153, allocations: 23.62 kB / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.4153, allocations: 25.7 kB / 0.773 GB, free: 13.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4154, allocations: 318.8 kB / 0.7733 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.4155, allocations: 15.98 kB / 0.7733 GB, free: 13.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.4155, allocations: 57.03 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.4156, allocations: 73.08 kB / 0.7734 GB, free: 12.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4156, allocations: 0 / 0.7734 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001415/0.4158, allocations: 97.58 kB / 0.7735 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4158, allocations: 8 kB / 0.7735 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4158, allocations: 0 / 0.7735 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4158, allocations: 0 / 0.7735 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.4159, allocations: 23.98 kB / 0.7736 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4159, allocations: 3.938 kB / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.416, allocations: 7.906 kB / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.416, allocations: 4 kB / 0.7736 GB, free: 12.74 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 8.665e-05/0.4161, allocations: 121.7 kB / 0.7737 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.4161, allocations: 4.094 kB / 0.7737 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.4162, allocations: 15.56 kB / 0.7737 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4162, allocations: 3.984 kB / 0.7737 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4162, allocations: 64 / 0.7737 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4162, allocations: 8 kB / 0.7737 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.4165, allocations: 173.6 kB / 0.7739 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4166, allocations: 0 / 0.7739 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.4166, allocations: 15.94 kB / 0.7739 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4167, allocations: 4.609 kB / 0.7739 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4167, allocations: 0 / 0.7739 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4167, allocations: 4 kB / 0.7739 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4167, allocations: 4 kB / 0.7739 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.4169, allocations: 333.9 kB / 0.7742 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.417, allocations: 85.14 kB / 0.7743 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.417, allocations: 0 / 0.7743 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.4172, allocations: 8.094 kB / 0.7743 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.4172, allocations: 23.84 kB / 0.7743 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.4172, allocations: 7.938 kB / 0.7743 GB, free: 11.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.234e-05/0.4173, allocations: 75.28 kB / 0.7744 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4173, allocations: 0 / 0.7744 GB, free: 11.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003055/0.4176, allocations: 16 kB / 0.7744 GB, free: 11.76 MB / 0.545 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.0001443/0.4177, allocations: 103.2 kB / 0.7745 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.4179, allocations: 51.91 kB / 0.7746 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4179, allocations: 0 / 0.7746 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.4179, allocations: 19.94 kB / 0.7746 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.4183, allocations: 8 kB / 0.7746 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.419, allocations: 366.1 kB / 0.775 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.4193, allocations: 0.6924 MB / 0.7756 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.4193, allocations: 15.38 kB / 0.7756 GB, free: 10.44 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4193, allocations: 0 / 0.7756 GB, free: 10.44 MB / 0.545 GB Notification: Performance of Templates: time 0.002182/0.4215, allocations: 0.7886 MB / 0.7764 GB, free: 9.66 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)