Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.005353/0.005353, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001117/0.001117, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.899/0.899, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 0.5852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 80.91 MB / 0.6642 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004289/0.3609, allocations: 4.051 MB / 0.6682 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3629, allocations: 2.422 MB / 0.6705 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.363, allocations: 1.094 kB / 0.6705 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.3633, allocations: 55.75 kB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.3635, allocations: 99.56 kB / 0.6707 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.3645, allocations: 0.5339 MB / 0.6712 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.3647, allocations: 262.5 kB / 0.6715 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.3648, allocations: 13.25 kB / 0.6715 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3649, allocations: 124.6 kB / 0.6716 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3651, allocations: 95.28 kB / 0.6717 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3651, allocations: 11.75 kB / 0.6717 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.3658, allocations: 454.9 kB / 0.6721 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.3658, allocations: 38.45 kB / 0.6722 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.3659, allocations: 85.83 kB / 0.6723 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.3665, allocations: 411 kB / 0.6726 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3665, allocations: 1.031 kB / 0.6726 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3665, allocations: 4 kB / 0.6726 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3665, allocations: 3.938 kB / 0.6727 GB, free: 0.6953 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005932/0.3671, allocations: 0.5072 MB / 0.6731 GB, free: 216 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3671, allocations: 8.938 kB / 0.6732 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.3672, allocations: 53.02 kB / 0.6732 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.3691, allocations: 179.2 kB / 0.6734 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3694, allocations: 217.4 kB / 0.6736 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3694, allocations: 14.86 kB / 0.6736 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.3695, allocations: 14.81 kB / 0.6736 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.3701, allocations: 302.6 kB / 0.6739 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3701, allocations: 1.125 kB / 0.6739 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.3702, allocations: 11.34 kB / 0.6739 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3702, allocations: 5.5 kB / 0.6739 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006992/0.3709, allocations: 263.5 kB / 0.6742 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.3724, allocations: 1.383 MB / 0.6755 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.3731, allocations: 202.4 kB / 0.6757 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.3733, allocations: 80.61 kB / 0.6758 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3734, allocations: 5.047 kB / 0.6758 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3734, allocations: 37.47 kB / 0.6758 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.3734, allocations: 0 / 0.6758 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007604/0.3742, allocations: 250.7 kB / 0.6761 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.3742, allocations: 57.69 kB / 0.6761 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3744, allocations: 158 kB / 0.6763 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3744, allocations: 30.95 kB / 0.6763 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.3745, allocations: 131 kB / 0.6764 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.3745, allocations: 66.94 kB / 0.6765 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.3746, allocations: 51.48 kB / 0.6765 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.3747, allocations: 325.7 kB / 0.6769 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3749, allocations: 63.42 kB / 0.6769 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3752, allocations: 140.6 kB / 0.677 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.3757, allocations: 220.9 kB / 0.6773 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3757, allocations: 5.406 kB / 0.6773 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005752/0.3763, allocations: 247 kB / 0.6775 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3763, allocations: 7.219 kB / 0.6775 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3763, allocations: 10.19 kB / 0.6775 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3763, allocations: 4.25 kB / 0.6775 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.3767, allocations: 65.61 kB / 0.6776 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.3767, allocations: 7.875 kB / 0.6776 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3769, allocations: 27.77 kB / 0.6776 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.377, allocations: 16.7 kB / 0.6776 GB, free: 12.45 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001111/0.3771, allocations: 135.8 kB / 0.6778 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.3771, allocations: 19.84 kB / 0.6778 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.3778, allocations: 226.7 kB / 0.678 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3778, allocations: 1.062 kB / 0.678 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/0.3778, allocations: 1.031 kB / 0.678 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3778, allocations: 0 / 0.678 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.3781, allocations: 248.9 kB / 0.6782 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3781, allocations: 1.062 kB / 0.6782 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.3784, allocations: 46.47 kB / 0.6783 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3784, allocations: 4 kB / 0.6783 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3784, allocations: 9.547 kB / 0.6783 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3784, allocations: 1.469 kB / 0.6783 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3784, allocations: 0 / 0.6783 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.379, allocations: 300.4 kB / 0.6786 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.3791, allocations: 106 kB / 0.6787 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.3791, allocations: 5.094 kB / 0.6787 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3794, allocations: 17.11 kB / 0.6787 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.3794, allocations: 9.328 kB / 0.6787 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3795, allocations: 10.86 kB / 0.6787 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.51e-05/0.3796, allocations: 119.2 kB / 0.6788 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.134e-06/0.3796, allocations: 0 / 0.6788 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003555/0.3799, allocations: 71.86 kB / 0.6789 GB, free: 11.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * 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.0008719/0.3808, allocations: 0.8621 MB / 0.6797 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.3814, allocations: 184.3 kB / 0.6799 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3814, allocations: 5.188 kB / 0.6799 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3816, allocations: 82.77 kB / 0.68 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3821, allocations: 57.7 kB / 0.6801 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.385, allocations: 2.163 MB / 0.6822 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3853, allocations: 0.7155 MB / 0.6829 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.3856, allocations: 55.25 kB / 0.6829 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3857, allocations: 48.5 kB / 0.683 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3857, allocations: 5.438 kB / 0.683 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.4052, allocations: 5.192 MB / 0.688 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.78, allocations: 20.61 kB / 0.6881 GB, free: 5.305 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)