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.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 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.001407/0.001407, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7833/0.7833, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.25 kB / 0.5019 GB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3626, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002248/0.3649, allocations: 1.262 MB / 0.5814 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.3678, allocations: 2.496 MB / 0.5839 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.3679, allocations: 1.719 kB / 0.5839 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.3679, allocations: 0.7969 kB / 0.5839 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.368, allocations: 8.531 kB / 0.5839 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.3684, allocations: 124.3 kB / 0.584 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.354e-05/0.3685, allocations: 41.03 kB / 0.584 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.3686, allocations: 3.484 kB / 0.584 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.3686, allocations: 20.52 kB / 0.5841 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.3687, allocations: 18.03 kB / 0.5841 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3687, allocations: 2.094 kB / 0.5841 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.369, allocations: 111.7 kB / 0.5842 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.369, allocations: 15.64 kB / 0.5842 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.369, allocations: 9.156 kB / 0.5842 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3692, allocations: 86.84 kB / 0.5843 GB, free: 1.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3693, allocations: 0 / 0.5843 GB, free: 1.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3693, allocations: 1.391 kB / 0.5843 GB, free: 1.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3693, allocations: 0 / 0.5843 GB, free: 1.688 MB / 430.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.0003352/0.3696, allocations: 364.1 kB / 0.5846 GB, free: 1.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3697, allocations: 9.438 kB / 0.5846 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.3697, allocations: 33.81 kB / 0.5847 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.3699, allocations: 16.42 kB / 0.5847 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.102e-05/0.37, allocations: 166.4 kB / 0.5848 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.37, allocations: 6.188 kB / 0.5849 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.37, allocations: 3.625 kB / 0.5849 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3702, allocations: 81.55 kB / 0.5849 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3702, allocations: 0 / 0.5849 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3702, allocations: 0.6562 kB / 0.5849 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3702, allocations: 5.688 kB / 0.5849 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.3703, allocations: 12.67 kB / 0.585 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.3708, allocations: 477.7 kB / 0.5854 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3709, allocations: 69.73 kB / 0.5855 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.3709, allocations: 21.08 kB / 0.5855 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.371, allocations: 0.8438 kB / 0.5855 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.371, allocations: 42.34 kB / 0.5855 GB, free: 352 kB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.371, allocations: 0 / 0.5855 GB, free: 352 kB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005658/0.3716, allocations: 300.8 kB / 0.5858 GB, free: 64 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.3716, allocations: 112.8 kB / 0.5859 GB, free: 15.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.3717, allocations: 100.5 kB / 0.586 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3717, allocations: 30.42 kB / 0.5861 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.3718, allocations: 85.62 kB / 0.5861 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3718, allocations: 26.47 kB / 0.5862 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.3719, allocations: 26.77 kB / 0.5862 GB, free: 15.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.372, allocations: 318.8 kB / 0.5865 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.372, allocations: 12.66 kB / 0.5865 GB, free: 15.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.3721, allocations: 56.94 kB / 0.5866 GB, free: 15.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.3722, allocations: 73.19 kB / 0.5866 GB, free: 15.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3722, allocations: 3.938 kB / 0.5866 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/0.3724, allocations: 98.56 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3724, allocations: 6.359 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3724, allocations: 1.875 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3724, allocations: 1.875 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.3725, allocations: 18.92 kB / 0.5868 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3725, allocations: 2.719 kB / 0.5868 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.3726, allocations: 5.625 kB / 0.5868 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3726, allocations: 8.547 kB / 0.5868 GB, free: 15.15 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 8.483e-05/0.3727, allocations: 124 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3727, allocations: 2.688 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.3728, allocations: 9.797 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3728, allocations: 2.078 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3728, allocations: 1.25 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3728, allocations: 1.484 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.3731, allocations: 182.8 kB / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3731, allocations: 0 / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.3732, allocations: 19.81 kB / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3732, allocations: 5.891 kB / 0.5871 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3733, allocations: 6.641 kB / 0.5871 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3733, allocations: 0.9062 kB / 0.5871 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3733, allocations: 1.781 kB / 0.5871 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3735, allocations: 331.7 kB / 0.5874 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.3736, allocations: 86.03 kB / 0.5875 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3736, allocations: 6.547 kB / 0.5875 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3738, allocations: 3.656 kB / 0.5875 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.3738, allocations: 11.73 kB / 0.5875 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.3738, allocations: 4 kB / 0.5875 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.3739, allocations: 83.02 kB / 0.5876 GB, free: 14.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3739, allocations: 0 / 0.5876 GB, free: 14.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.3742, allocations: 10.5 kB / 0.5876 GB, free: 14.31 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.0005049/0.3747, allocations: 0.8712 MB / 0.5885 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.3749, allocations: 52.44 kB / 0.5885 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3749, allocations: 4.25 kB / 0.5885 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.3749, allocations: 14.69 kB / 0.5885 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.3754, allocations: 15.23 kB / 0.5886 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.377, allocations: 1.682 MB / 0.5902 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3772, allocations: 0.6861 MB / 0.5909 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.3773, allocations: 5.828 kB / 0.5909 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3773, allocations: 15.67 kB / 0.5909 GB, free: 11.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3773, allocations: 4 kB / 0.5909 GB, free: 11.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3952, allocations: 1.668 MB / 0.5925 GB, free: 10.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.452, allocations: 6.656 kB / 0.5925 GB, free: 10.78 MB / 446.1 MB (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)