Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00146/0.00146, allocations: 106.5 kB / 16.52 MB, free: 6.27 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.001605/0.001605, allocations: 197 kB / 17.44 MB, free: 5.887 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6843/0.6843, allocations: 115.3 MB / 406.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 493.6 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3173, allocations: 76.16 MB / 0.5564 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002093/0.3195, allocations: 1.315 MB / 0.5577 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3217, allocations: 2.496 MB / 0.5601 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.3218, allocations: 1.594 kB / 0.5601 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.3218, allocations: 10.06 kB / 0.5601 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.3219, allocations: 1.547 kB / 0.5601 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.3223, allocations: 119.1 kB / 0.5602 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.3223, allocations: 36.89 kB / 0.5603 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.3224, allocations: 5.453 kB / 0.5603 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.3224, allocations: 17.66 kB / 0.5603 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.3225, allocations: 21.64 kB / 0.5603 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3225, allocations: 2.812 kB / 0.5603 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.3228, allocations: 110.4 kB / 0.5604 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.3228, allocations: 10.42 kB / 0.5604 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3228, allocations: 18.34 kB / 0.5604 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3229, allocations: 57.23 kB / 0.5605 GB, free: 32.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.323, allocations: 0 / 0.5605 GB, free: 32.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.323, allocations: 1.312 kB / 0.5605 GB, free: 32.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.323, allocations: 1.281 kB / 0.5605 GB, free: 32.72 MB / 446.1 MB 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.0003012/0.3233, allocations: 351.2 kB / 0.5608 GB, free: 32.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.3233, allocations: 14.47 kB / 0.5608 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.3235, allocations: 15.12 kB / 0.5609 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.673e-05/0.3236, allocations: 161.5 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3236, allocations: 8.469 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3236, allocations: 3.031 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3238, allocations: 79.28 kB / 0.5611 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3238, allocations: 0 / 0.5611 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3238, allocations: 0.9062 kB / 0.5611 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3238, allocations: 0.9375 kB / 0.5611 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.3238, allocations: 17.58 kB / 0.5611 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.3243, allocations: 468.5 kB / 0.5616 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3244, allocations: 73.58 kB / 0.5616 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.3244, allocations: 22.89 kB / 0.5616 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3244, allocations: 7.344 kB / 0.5617 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.3245, allocations: 45.31 kB / 0.5617 GB, free: 31.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3245, allocations: 1.469 kB / 0.5617 GB, free: 31.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005086/0.325, allocations: 299.8 kB / 0.562 GB, free: 31.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.325, allocations: 105.3 kB / 0.5621 GB, free: 31.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.331e-05/0.3251, allocations: 99.16 kB / 0.5622 GB, free: 30.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3251, allocations: 31.05 kB / 0.5622 GB, free: 30.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.3251, allocations: 86.75 kB / 0.5623 GB, free: 30.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.3252, allocations: 33.5 kB / 0.5623 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3252, allocations: 29.59 kB / 0.5624 GB, free: 30.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.3252, allocations: 318 kB / 0.5627 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.3253, allocations: 12.61 kB / 0.5627 GB, free: 30.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.3253, allocations: 52.03 kB / 0.5627 GB, free: 30.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.3254, allocations: 88.02 kB / 0.5628 GB, free: 30.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3254, allocations: 0.9688 kB / 0.5628 GB, free: 30.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001157/0.3255, allocations: 92.42 kB / 0.5629 GB, free: 30.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3255, allocations: 7.625 kB / 0.5629 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3255, allocations: 5.484 kB / 0.5629 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3256, allocations: 3.094 kB / 0.5629 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.3256, allocations: 20.98 kB / 0.5629 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3257, allocations: 1.469 kB / 0.5629 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.3257, allocations: 7.219 kB / 0.5629 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3257, allocations: 5.281 kB / 0.5629 GB, free: 30.25 MB / 446.1 MB 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 5.445e-05/0.3258, allocations: 122.9 kB / 0.5631 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3258, allocations: 7.281 kB / 0.5631 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.3259, allocations: 9.922 kB / 0.5631 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3259, allocations: 2.969 kB / 0.5631 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3259, allocations: 1.344 kB / 0.5631 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3259, allocations: 2.344 kB / 0.5631 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.3262, allocations: 177.7 kB / 0.5632 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3262, allocations: 5.906 kB / 0.5633 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.3263, allocations: 16.78 kB / 0.5633 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3263, allocations: 1.375 kB / 0.5633 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3263, allocations: 5.875 kB / 0.5633 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3263, allocations: 2.312 kB / 0.5633 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3263, allocations: 0 / 0.5633 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.3265, allocations: 331 kB / 0.5636 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.3266, allocations: 86.42 kB / 0.5637 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3266, allocations: 6.312 kB / 0.5637 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3268, allocations: 5.406 kB / 0.5637 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3268, allocations: 5.078 kB / 0.5637 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3268, allocations: 7.234 kB / 0.5637 GB, free: 29.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.228e-05/0.3268, allocations: 83 kB / 0.5638 GB, free: 29.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3268, allocations: 1.406 kB / 0.5638 GB, free: 29.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.3272, allocations: 11.61 kB / 0.5638 GB, free: 29.43 MB / 446.1 MB 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.0001022/0.3273, allocations: 111.8 kB / 0.5639 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.3274, allocations: 47.98 kB / 0.5639 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3274, allocations: 0.5 kB / 0.5639 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.3274, allocations: 18.39 kB / 0.564 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.3279, allocations: 14.8 kB / 0.564 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.3284, allocations: 380 kB / 0.5643 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3286, allocations: 0.685 MB / 0.565 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.3286, allocations: 14.91 kB / 0.565 GB, free: 28.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3286, allocations: 4 kB / 0.565 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002038/0.3306, allocations: 0.7738 MB / 0.5658 GB, free: 28.27 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)