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.004705/0.004705, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001297/0.001297, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9885/0.9885, allocations: 135.5 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 0.5858 GB, free: 3.137 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3743, allocations: 81.02 MB / 0.6649 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004003/0.3783, allocations: 4.044 MB / 0.6689 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.3806, allocations: 2.428 MB / 0.6713 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.3807, allocations: 1.062 kB / 0.6713 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.381, allocations: 48.08 kB / 0.6713 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.3813, allocations: 102.8 kB / 0.6714 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3826, allocations: 0.5123 MB / 0.6719 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.3829, allocations: 267.4 kB / 0.6722 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.383, allocations: 12.97 kB / 0.6722 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.3831, allocations: 115.9 kB / 0.6723 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.3833, allocations: 95.88 kB / 0.6724 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3833, allocations: 12.02 kB / 0.6724 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.3841, allocations: 458.9 kB / 0.6728 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.3841, allocations: 34.34 kB / 0.6729 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.3842, allocations: 85.17 kB / 0.6729 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.3848, allocations: 419.6 kB / 0.6733 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3848, allocations: 0 / 0.6733 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3848, allocations: 0 / 0.6733 GB, free: 444 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3848, allocations: 1.156 kB / 0.6733 GB, free: 444 kB / 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.0006631/0.3855, allocations: 0.5141 MB / 0.6738 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3855, allocations: 8.938 kB / 0.6738 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.3856, allocations: 49.3 kB / 0.6739 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.3876, allocations: 182.7 kB / 0.6741 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.3879, allocations: 209.5 kB / 0.6743 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.388, allocations: 11.33 kB / 0.6743 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.388, allocations: 15.09 kB / 0.6743 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.3887, allocations: 310.3 kB / 0.6746 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3887, allocations: 1.781 kB / 0.6746 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.3888, allocations: 11.28 kB / 0.6746 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.3888, allocations: 4.875 kB / 0.6746 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.3896, allocations: 270.7 kB / 0.6749 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.3914, allocations: 1.38 MB / 0.6762 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.3921, allocations: 189.4 kB / 0.6764 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.3924, allocations: 80.88 kB / 0.6765 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.3924, allocations: 6.109 kB / 0.6765 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3925, allocations: 36.66 kB / 0.6765 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.3925, allocations: 5 kB / 0.6765 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008135/0.3933, allocations: 250.2 kB / 0.6768 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3934, allocations: 54 kB / 0.6768 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3935, allocations: 155.3 kB / 0.677 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3936, allocations: 30.92 kB / 0.677 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.3937, allocations: 131.5 kB / 0.6771 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.3937, allocations: 67.34 kB / 0.6772 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.3938, allocations: 45.98 kB / 0.6772 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.394, allocations: 330 kB / 0.6775 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3942, allocations: 64.36 kB / 0.6776 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3945, allocations: 139.8 kB / 0.6777 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.3951, allocations: 226.1 kB / 0.6779 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3951, allocations: 1.469 kB / 0.6779 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006256/0.3957, allocations: 250.2 kB / 0.6782 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3958, allocations: 6.156 kB / 0.6782 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3958, allocations: 2.625 kB / 0.6782 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3958, allocations: 4.25 kB / 0.6782 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.3961, allocations: 61.89 kB / 0.6783 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.3962, allocations: 20.22 kB / 0.6783 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3964, allocations: 30.92 kB / 0.6783 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.3964, allocations: 12.52 kB / 0.6783 GB, free: 12.18 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.0001347/0.3966, allocations: 138.8 kB / 0.6784 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.3966, allocations: 15.56 kB / 0.6785 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006644/0.3973, allocations: 224.5 kB / 0.6787 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3973, allocations: 10.19 kB / 0.6787 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3973, allocations: 1.062 kB / 0.6787 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3973, allocations: 0 / 0.6787 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.3977, allocations: 256.2 kB / 0.6789 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3977, allocations: 0 / 0.6789 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.398, allocations: 50.69 kB / 0.679 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.398, allocations: 1.469 kB / 0.679 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.398, allocations: 5.359 kB / 0.679 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.398, allocations: 1.375 kB / 0.679 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.398, allocations: 0 / 0.679 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.3986, allocations: 293.9 kB / 0.6793 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3988, allocations: 109.6 kB / 0.6794 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3988, allocations: 1.156 kB / 0.6794 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.3991, allocations: 17.05 kB / 0.6794 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.3991, allocations: 18.09 kB / 0.6794 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3992, allocations: 13.94 kB / 0.6794 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.775e-05/0.3993, allocations: 119 kB / 0.6795 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3993, allocations: 1.719 kB / 0.6795 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003461/0.3996, allocations: 66.55 kB / 0.6796 GB, free: 11.14 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.0009917/0.4006, allocations: 0.8611 MB / 0.6804 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000555/0.4012, allocations: 183.2 kB / 0.6806 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4012, allocations: 1.219 kB / 0.6806 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.4014, allocations: 87.17 kB / 0.6807 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.4019, allocations: 56.38 kB / 0.6808 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.4052, allocations: 2.162 MB / 0.6829 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.4056, allocations: 0.7191 MB / 0.6836 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.4058, allocations: 52.3 kB / 0.6836 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.406, allocations: 49.78 kB / 0.6837 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.406, allocations: 0 / 0.6837 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.4324, allocations: 5.192 MB / 0.6887 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.41, allocations: 18 kB / 0.6888 GB, free: 5.043 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)