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.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.91 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002676/0.326, allocations: 1.256 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.3291, allocations: 2.501 MB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.3291, allocations: 3.938 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.3291, allocations: 7.984 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.3292, allocations: 3.938 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.3298, allocations: 127.4 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.3298, allocations: 35.86 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.3299, allocations: 4 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.3299, allocations: 19.91 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.33, allocations: 19.92 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.33, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.3303, allocations: 115.8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3304, allocations: 11.98 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.3304, allocations: 15.92 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3306, allocations: 84.06 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3307, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3307, allocations: 4 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3307, allocations: 0 / 1.072 GB, free: 6.266 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.0004207/0.3311, allocations: 347.6 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3311, allocations: 8.031 kB / 1.073 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.3314, allocations: 20.83 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3315, allocations: 176.2 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3315, allocations: 384 / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.3315, allocations: 8.375 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3317, allocations: 76.38 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3317, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3317, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3317, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/0.3318, allocations: 15.88 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.3324, allocations: 470.8 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3325, allocations: 71.66 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.3326, allocations: 26.64 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3326, allocations: 8.078 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3326, allocations: 30.56 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3326, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006245/0.3333, allocations: 298.6 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3333, allocations: 110.8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.3334, allocations: 105.8 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3334, allocations: 25.7 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.3335, allocations: 92.03 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3335, allocations: 27.55 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.3336, allocations: 29.97 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3337, allocations: 326.8 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.3337, allocations: 4 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.913e-05/0.3338, allocations: 57.08 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.3339, allocations: 77.08 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3339, allocations: 0 / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001429/0.334, allocations: 93.55 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.334, allocations: 8 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.334, allocations: 0 / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3341, allocations: 4.125 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.3342, allocations: 27.92 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3342, allocations: 3.984 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.3342, allocations: 4 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3342, allocations: 4 kB / 1.075 GB, free: 3.398 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.231e-05/0.3343, allocations: 117.8 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.3344, allocations: 3.906 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.3344, allocations: 15.5 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3344, allocations: 0 / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3344, allocations: 4.062 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3344, allocations: 8 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.3348, allocations: 177.6 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3348, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.3349, allocations: 23.86 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3349, allocations: 4 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3349, allocations: 0 / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3349, allocations: 0 / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3349, allocations: 4 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3352, allocations: 337.9 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.3353, allocations: 85.14 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3353, allocations: 0 / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3355, allocations: 8 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.3355, allocations: 4 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3355, allocations: 7.938 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.3355, allocations: 83.64 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3355, allocations: 0 / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003148/0.3359, allocations: 16 kB / 1.076 GB, free: 2.422 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.0001272/0.336, allocations: 103.9 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.3361, allocations: 47.86 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3361, allocations: 0 / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.3362, allocations: 24.23 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3366, allocations: 8 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.3372, allocations: 350.2 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.3375, allocations: 0.6852 MB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.188e-05/0.3376, allocations: 11.77 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.3376, allocations: 11.44 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3376, allocations: 4 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of Templates: time 0.002759/0.3404, allocations: 0.6331 MB / 1.077 GB, free: 0.5234 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)