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.001605/0.001605, allocations: 109.2 kB / 16.41 MB, free: 6.469 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.001698/0.001698, allocations: 189.2 kB / 17.34 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.431/1.431, 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.002642/0.002642, allocations: 294.3 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 1.032/1.032, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 99.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4401, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002172/0.4423, allocations: 1.256 MB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003188/0.4455, allocations: 2.501 MB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.4455, allocations: 4 kB / 0.7707 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.4455, allocations: 0 / 0.7707 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.4456, allocations: 11.92 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.4461, allocations: 127.4 kB / 0.7708 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.4462, allocations: 35.91 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.4462, allocations: 4 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.4463, allocations: 27.84 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.4463, allocations: 15.98 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.4463, allocations: 0 / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.4466, allocations: 115.8 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.4466, allocations: 11.92 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.4466, allocations: 19.92 kB / 0.7711 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.4468, allocations: 75.22 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4468, allocations: 4 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4468, allocations: 0 / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4468, allocations: 0 / 0.7711 GB, free: 15.72 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.0004315/0.4473, allocations: 361.5 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.4473, allocations: 12.03 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.4475, allocations: 12.92 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4476, allocations: 164.3 kB / 0.7717 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4477, allocations: 4.375 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4477, allocations: 4.375 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4478, allocations: 76.38 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4478, allocations: 4 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4478, allocations: 0 / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4478, allocations: 0 / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.4479, allocations: 11.94 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.4485, allocations: 466.9 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.4486, allocations: 75.59 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.4487, allocations: 26.78 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.4487, allocations: 0 / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4487, allocations: 38.56 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.4487, allocations: 0 / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006001/0.4493, allocations: 302.2 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.4494, allocations: 110.8 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.4495, allocations: 102.1 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4495, allocations: 25.95 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.4495, allocations: 92.08 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.4496, allocations: 31.73 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.4496, allocations: 29.66 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4497, allocations: 322.8 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.4498, allocations: 8 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.4498, allocations: 65.02 kB / 0.7734 GB, free: 13.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.664e-05/0.4499, allocations: 77.25 kB / 0.7735 GB, free: 12.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4499, allocations: 64 / 0.7735 GB, free: 12.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001471/0.4501, allocations: 101.6 kB / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4501, allocations: 6.5 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4501, allocations: 4 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4501, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.4502, allocations: 27.92 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4502, allocations: 0 / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.4502, allocations: 7.953 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4502, 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 8.293e-05/0.4503, allocations: 116.2 kB / 0.7737 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.4504, allocations: 8.094 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.4504, allocations: 11.56 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4504, allocations: 0 / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.4504, allocations: 0 / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4504, allocations: 3.938 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.4508, allocations: 181.6 kB / 0.7739 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4508, allocations: 0 / 0.7739 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.4509, allocations: 15.98 kB / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.4509, allocations: 4 kB / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.4509, allocations: 0 / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4509, allocations: 4 kB / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4509, allocations: 0 / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.4512, allocations: 341.9 kB / 0.7743 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.4512, allocations: 85.14 kB / 0.7743 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.4512, allocations: 0 / 0.7743 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.4514, allocations: 8 kB / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.4514, allocations: 8 kB / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.4514, allocations: 7.922 kB / 0.7744 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.4515, allocations: 79.28 kB / 0.7744 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4515, allocations: 0 / 0.7744 GB, free: 11.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003219/0.4518, allocations: 16 kB / 0.7744 GB, free: 11.88 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.0001378/0.4519, allocations: 111.1 kB / 0.7746 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.4521, allocations: 56.28 kB / 0.7746 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4521, allocations: 0 / 0.7746 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.4521, allocations: 15.98 kB / 0.7746 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4525, allocations: 12.94 kB / 0.7746 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.4532, allocations: 347.8 kB / 0.775 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4535, allocations: 0.6885 MB / 0.7756 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.92e-05/0.4536, allocations: 7.984 kB / 0.7756 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.4536, allocations: 11.44 kB / 0.7757 GB, free: 10.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4536, allocations: 4 kB / 0.7757 GB, free: 10.56 MB / 0.545 GB Notification: Performance of Templates: time 0.003195/0.4568, allocations: 0.6417 MB / 0.7763 GB, free: 9.957 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)