Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_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.005161/0.005161, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001223/0.001223, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7612/0.7612, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 63.91 kB / 0.5809 GB, free: 7.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3798, allocations: 80.21 MB / 0.6593 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004623/0.3845, allocations: 4.05 MB / 0.6632 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3867, allocations: 2.423 MB / 0.6656 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3868, allocations: 5.344 kB / 0.6656 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.3871, allocations: 47.23 kB / 0.6656 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.3874, allocations: 108.5 kB / 0.6657 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3887, allocations: 0.5261 MB / 0.6663 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.389, allocations: 262.8 kB / 0.6665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.3891, allocations: 13.14 kB / 0.6665 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.3893, allocations: 124.1 kB / 0.6666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3894, allocations: 94.88 kB / 0.6667 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.3895, allocations: 8.562 kB / 0.6667 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008885/0.3903, allocations: 458.7 kB / 0.6672 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.3904, allocations: 38.62 kB / 0.6672 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.3905, allocations: 85.83 kB / 0.6673 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.3912, allocations: 411.5 kB / 0.6677 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3912, allocations: 0 / 0.6677 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3912, allocations: 0 / 0.6677 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3912, allocations: 1.062 kB / 0.6677 GB, free: 3.785 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.0006831/0.3919, allocations: 0.5108 MB / 0.6682 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.392, allocations: 9 kB / 0.6682 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.392, allocations: 56.73 kB / 0.6682 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.394, allocations: 182.6 kB / 0.6684 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.3943, allocations: 209.8 kB / 0.6686 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3944, allocations: 11.92 kB / 0.6686 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.3944, allocations: 14.81 kB / 0.6686 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.395, allocations: 306 kB / 0.6689 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.395, allocations: 5.234 kB / 0.6689 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.3951, allocations: 7.406 kB / 0.6689 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.3951, allocations: 9.547 kB / 0.669 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.3958, allocations: 258 kB / 0.6692 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.3972, allocations: 1.387 MB / 0.6706 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.3978, allocations: 190.5 kB / 0.6707 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.3981, allocations: 85.72 kB / 0.6708 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3981, allocations: 5.328 kB / 0.6708 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3981, allocations: 32.94 kB / 0.6709 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.3981, allocations: 3.938 kB / 0.6709 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007762/0.3989, allocations: 251.6 kB / 0.6711 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.3989, allocations: 52.41 kB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3991, allocations: 159.8 kB / 0.6713 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3991, allocations: 35.7 kB / 0.6713 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.3991, allocations: 130.4 kB / 0.6715 GB, free: 480 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.3992, allocations: 63.5 kB / 0.6715 GB, free: 424 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.3993, allocations: 54.48 kB / 0.6716 GB, free: 376 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.3993, allocations: 330.4 kB / 0.6719 GB, free: 40 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3995, allocations: 63.55 kB / 0.6719 GB, free: 12 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.3998, allocations: 144.4 kB / 0.6721 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.4004, allocations: 215.3 kB / 0.6723 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4004, allocations: 1.594 kB / 0.6723 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006411/0.4011, allocations: 252.2 kB / 0.6725 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4011, allocations: 6.094 kB / 0.6725 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4011, allocations: 2.406 kB / 0.6725 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4011, allocations: 4.781 kB / 0.6725 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.4015, allocations: 74.48 kB / 0.6726 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4015, allocations: 8.328 kB / 0.6726 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4018, allocations: 26.25 kB / 0.6726 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.4018, allocations: 12.89 kB / 0.6727 GB, free: 15.53 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.000129/0.402, allocations: 133.7 kB / 0.6728 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.402, allocations: 15.66 kB / 0.6728 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.4027, allocations: 237.1 kB / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4027, allocations: 2.5 kB / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4027, allocations: 0 / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4027, allocations: 0 / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.403, allocations: 252.5 kB / 0.6733 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.403, allocations: 1.219 kB / 0.6733 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.4034, allocations: 45.5 kB / 0.6733 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4034, allocations: 1.719 kB / 0.6733 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4034, allocations: 9.641 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4034, allocations: 1.188 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4034, allocations: 4 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.404, allocations: 297.4 kB / 0.6736 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4041, allocations: 100.7 kB / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.4042, allocations: 6.375 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.4045, allocations: 24.75 kB / 0.6737 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.4045, allocations: 13.34 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.4045, allocations: 13.89 kB / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.219e-05/0.4046, allocations: 112 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4046, allocations: 0 / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004388/0.4051, allocations: 63.78 kB / 0.6739 GB, free: 14.5 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.0009979/0.4061, allocations: 0.8642 MB / 0.6748 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005988/0.4067, allocations: 182.6 kB / 0.675 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4067, allocations: 0 / 0.675 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.407, allocations: 88.36 kB / 0.675 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.4075, allocations: 64.59 kB / 0.6751 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.411, allocations: 2.165 MB / 0.6772 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.4113, allocations: 0.7156 MB / 0.6779 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.4116, allocations: 51.33 kB / 0.678 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.4117, allocations: 50.06 kB / 0.678 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.4117, allocations: 0 / 0.678 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.4351, allocations: 5.19 MB / 0.6831 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.141, allocations: 13.91 kB / 0.6831 GB, free: 8.438 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)