Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001481/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002171/0.002172, allocations: 192.1 kB / 16.13 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7447 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 65.64 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4314, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003616/0.435, allocations: 1.323 MB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.439, allocations: 2.495 MB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.4391, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.4391, allocations: 7.922 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.4392, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.4399, allocations: 119.5 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.44, allocations: 35.8 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.44, allocations: 11.98 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.4401, allocations: 11.98 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.654e-05/0.4402, allocations: 19.92 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.4402, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.4405, allocations: 111.7 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.4406, allocations: 11.98 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.4406, allocations: 15.92 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.4409, allocations: 88.06 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4409, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4409, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.4409, allocations: 0 / 1.072 GB, free: 6.684 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.0005019/0.4414, allocations: 351.6 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4415, allocations: 8.031 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.4417, allocations: 20.83 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4419, allocations: 168.3 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4419, allocations: 4.312 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.442, allocations: 12.38 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4421, allocations: 72.38 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4421, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4422, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4422, allocations: 7.938 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.4422, allocations: 15.86 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.443, allocations: 470.8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.4432, allocations: 75.7 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.4433, allocations: 30.72 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.4433, allocations: 3.938 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4433, allocations: 34.56 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4433, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000745/0.4441, allocations: 302.4 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.4441, allocations: 102.8 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4443, allocations: 101.8 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4443, allocations: 29.7 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.4444, allocations: 88.03 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4444, allocations: 27.56 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.4444, allocations: 29.7 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4446, allocations: 318.8 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.4446, allocations: 16.02 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.4447, allocations: 57.08 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.938e-05/0.4448, allocations: 69.09 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4448, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001483/0.4449, allocations: 93.55 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.445, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.445, allocations: 4 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.445, allocations: 0 / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.4451, allocations: 19.98 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.4451, allocations: 8.062 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.4452, allocations: 4 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4452, allocations: 4 kB / 1.074 GB, free: 3.816 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 0.0001034/0.4453, allocations: 117.8 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.4453, allocations: 11.84 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.4454, allocations: 8.172 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.4454, allocations: 7.984 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4454, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4454, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.4458, allocations: 177.6 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4458, allocations: 8 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.4459, allocations: 16 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/0.4459, allocations: 7.984 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4459, allocations: 4 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4459, allocations: 0 / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4459, allocations: 3.984 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.4462, allocations: 337.9 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.4463, allocations: 85.14 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4463, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4465, allocations: 4 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.4465, allocations: 11.92 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4466, allocations: 7.938 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.4466, allocations: 79.28 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4466, allocations: 0 / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003157/0.4469, allocations: 16 kB / 1.075 GB, free: 2.836 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.000168/0.4471, allocations: 103.2 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.4472, allocations: 47.91 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4473, allocations: 0 / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.4473, allocations: 19.94 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.4478, allocations: 11.22 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.4485, allocations: 353.9 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.4488, allocations: 0.6887 MB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.049e-05/0.4489, allocations: 11.78 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.4489, allocations: 11.44 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of SimCode: time 1.823e-06/0.4489, allocations: 0 / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.00319/0.4521, allocations: 0.6309 MB / 1.077 GB, free: 0.9375 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)