Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001118, allocations: 108.6 kB / 15.73 MB, free: 72 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.001149/0.001149, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7419/0.7419, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 0.5808 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3656, allocations: 80.21 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002017/0.3677, allocations: 1.264 MB / 0.6604 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.3701, allocations: 2.497 MB / 0.6628 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.3701, allocations: 0 / 0.6628 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.3702, allocations: 0.75 kB / 0.6628 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.3702, allocations: 5.734 kB / 0.6628 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.3707, allocations: 141.4 kB / 0.663 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.3708, allocations: 42.05 kB / 0.663 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.3708, allocations: 3.5 kB / 0.663 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.3709, allocations: 16.33 kB / 0.663 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.3709, allocations: 21.64 kB / 0.6631 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.3709, allocations: 1.25 kB / 0.6631 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.3712, allocations: 108.7 kB / 0.6632 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.3712, allocations: 11.91 kB / 0.6632 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.3713, allocations: 20.53 kB / 0.6632 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3715, allocations: 90.61 kB / 0.6633 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3715, allocations: 0 / 0.6633 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3715, allocations: 0 / 0.6633 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.3715, allocations: 0 / 0.6633 GB, free: 6.988 MB / 0.4981 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.0003118/0.3718, allocations: 357.3 kB / 0.6636 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3719, allocations: 8.844 kB / 0.6636 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.3719, allocations: 36.53 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.3721, allocations: 12.83 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.849e-05/0.3722, allocations: 166.1 kB / 0.6638 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3722, allocations: 5.828 kB / 0.6638 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3722, allocations: 9.594 kB / 0.6638 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.3723, allocations: 71.31 kB / 0.6639 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3723, allocations: 1.625 kB / 0.6639 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3724, allocations: 4 kB / 0.6639 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3724, allocations: 1.188 kB / 0.6639 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.3724, allocations: 16.62 kB / 0.6639 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.3728, allocations: 471 kB / 0.6644 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.373, allocations: 77.81 kB / 0.6645 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.373, allocations: 24.06 kB / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.373, allocations: 1.438 kB / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.373, allocations: 37.61 kB / 0.6645 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.373, allocations: 0 / 0.6645 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005119/0.3736, allocations: 309.3 kB / 0.6648 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3736, allocations: 112.1 kB / 0.6649 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.994e-05/0.3736, allocations: 97.83 kB / 0.665 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3737, allocations: 26.61 kB / 0.665 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.3737, allocations: 85.53 kB / 0.6651 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.3737, allocations: 31.83 kB / 0.6652 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.3737, allocations: 29.78 kB / 0.6652 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.3738, allocations: 324.1 kB / 0.6655 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.3738, allocations: 7.469 kB / 0.6655 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.3739, allocations: 52.95 kB / 0.6655 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.969e-05/0.3739, allocations: 74.92 kB / 0.6656 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3739, allocations: 0 / 0.6656 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001585/0.3741, allocations: 94.77 kB / 0.6657 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3741, allocations: 5.812 kB / 0.6657 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3741, allocations: 1.125 kB / 0.6657 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3741, allocations: 6.344 kB / 0.6657 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.3742, allocations: 24.8 kB / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3742, allocations: 2.312 kB / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.3743, allocations: 2.406 kB / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3743, allocations: 7.422 kB / 0.6658 GB, free: 4.422 MB / 0.4981 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 4.764e-05/0.3743, allocations: 122.6 kB / 0.6659 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.3744, allocations: 7.109 kB / 0.6659 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.3744, allocations: 12.66 kB / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3745, allocations: 1.188 kB / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3745, allocations: 5.656 kB / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3745, allocations: 5.078 kB / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3748, allocations: 181.5 kB / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3748, allocations: 1.469 kB / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.3749, allocations: 17.3 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3749, allocations: 1.375 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3749, allocations: 1.406 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3749, allocations: 1.156 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3749, allocations: 1.25 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3751, allocations: 336.7 kB / 0.6664 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.3751, allocations: 87.27 kB / 0.6665 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3751, allocations: 2.219 kB / 0.6665 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3753, allocations: 6.219 kB / 0.6665 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.3753, allocations: 11.38 kB / 0.6665 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3753, allocations: 6.391 kB / 0.6665 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.3754, allocations: 81.59 kB / 0.6666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3754, allocations: 1.094 kB / 0.6666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003268/0.3757, allocations: 13.72 kB / 0.6666 GB, free: 3.535 MB / 0.4981 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.000285/0.376, allocations: 0.8635 MB / 0.6675 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.3761, allocations: 47.34 kB / 0.6675 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3761, allocations: 0 / 0.6675 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.47e-05/0.3761, allocations: 20.02 kB / 0.6675 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3766, allocations: 9.156 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3777, allocations: 1.69 MB / 0.6692 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.3778, allocations: 0.6828 MB / 0.6699 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.3778, allocations: 15.38 kB / 0.6699 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.3779, allocations: 15.59 kB / 0.6699 GB, free: 304 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.3779, allocations: 0 / 0.6699 GB, free: 304 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.395, allocations: 1.705 MB / 0.6715 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.78, allocations: 9.781 kB / 0.6716 GB, free: 15.43 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)