Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.00475/0.00475, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001227/0.001227, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.407/1.407, 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.7592/0.7592, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.84 kB / 0.5809 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3742, allocations: 80.2 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005119/0.3793, allocations: 4.428 MB / 0.6635 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3816, allocations: 2.692 MB / 0.6662 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.3817, allocations: 1.375 kB / 0.6662 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.3819, allocations: 54.88 kB / 0.6662 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.3822, allocations: 92.84 kB / 0.6663 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.3832, allocations: 0.4962 MB / 0.6668 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3834, allocations: 240.7 kB / 0.667 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.3834, allocations: 13 kB / 0.667 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.3843, allocations: 417.1 kB / 0.6674 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3844, allocations: 88.44 kB / 0.6675 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3844, allocations: 11.12 kB / 0.6675 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008282/0.3853, allocations: 490.6 kB / 0.668 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.3853, allocations: 33.36 kB / 0.668 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.3854, allocations: 78.97 kB / 0.6681 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.386, allocations: 362.7 kB / 0.6685 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3861, allocations: 0 / 0.6685 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3861, allocations: 0 / 0.6685 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3861, allocations: 3.938 kB / 0.6685 GB, free: 3.168 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.0008162/0.3869, allocations: 0.4994 MB / 0.6689 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.387, allocations: 14.36 kB / 0.669 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.387, allocations: 48.77 kB / 0.669 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3872, allocations: 20.94 kB / 0.669 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3875, allocations: 221.1 kB / 0.6692 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.3876, allocations: 11.58 kB / 0.6693 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.3876, allocations: 13.88 kB / 0.6693 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.388, allocations: 254.1 kB / 0.6695 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.388, allocations: 0 / 0.6695 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3881, allocations: 11 kB / 0.6695 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.3881, allocations: 6 kB / 0.6695 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.3887, allocations: 433.5 kB / 0.6699 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.3896, allocations: 1 MB / 0.6709 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3899, allocations: 160.1 kB / 0.6711 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.39, allocations: 58.3 kB / 0.6711 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.3911, allocations: 1.827 MB / 0.6729 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3912, allocations: 40.59 kB / 0.6729 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 3.186e-06/0.3912, allocations: 3.984 kB / 0.6729 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003258/0.3915, allocations: 150.4 kB / 0.6731 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3916, allocations: 54.09 kB / 0.6731 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3917, allocations: 170.7 kB / 0.6733 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3917, allocations: 28.36 kB / 0.6733 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.3918, allocations: 151 kB / 0.6735 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.3919, allocations: 58.86 kB / 0.6735 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.3919, allocations: 56.53 kB / 0.6736 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3921, allocations: 322 kB / 0.6739 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.3921, allocations: 33.89 kB / 0.6739 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3923, allocations: 146.5 kB / 0.6741 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3925, allocations: 194.8 kB / 0.6743 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3925, allocations: 1.406 kB / 0.6743 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003227/0.3928, allocations: 222.8 kB / 0.6745 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3929, allocations: 6.281 kB / 0.6745 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3929, allocations: 4.219 kB / 0.6745 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.3929, allocations: 9.812 kB / 0.6745 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3931, allocations: 52.5 kB / 0.6745 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3931, allocations: 12.84 kB / 0.6745 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3932, allocations: 23.81 kB / 0.6746 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.3933, allocations: 15.12 kB / 0.6746 GB, free: 13.35 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001165/0.3934, allocations: 139 kB / 0.6747 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.3934, allocations: 15.84 kB / 0.6747 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.3938, allocations: 156.8 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3938, allocations: 5.938 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3938, allocations: 1.094 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3938, allocations: 0 / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.3941, allocations: 217.3 kB / 0.6751 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3941, allocations: 1.125 kB / 0.6751 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.3942, allocations: 27.83 kB / 0.6751 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3942, allocations: 4 kB / 0.6751 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3942, allocations: 1.312 kB / 0.6751 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3942, allocations: 8.812 kB / 0.6751 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3942, allocations: 1.281 kB / 0.6751 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3945, allocations: 215.7 kB / 0.6753 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.3946, allocations: 114.2 kB / 0.6755 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3946, allocations: 5.156 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3948, allocations: 20.02 kB / 0.6755 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.3949, allocations: 16.45 kB / 0.6755 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3949, allocations: 5.75 kB / 0.6755 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.395, allocations: 122.4 kB / 0.6756 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.395, allocations: 0 / 0.6756 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003815/0.3954, allocations: 77.52 kB / 0.6757 GB, free: 12.42 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006869/0.3961, allocations: 0.8312 MB / 0.6765 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3963, allocations: 118 kB / 0.6766 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3963, allocations: 0 / 0.6766 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.3964, allocations: 56.84 kB / 0.6767 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3969, allocations: 59.16 kB / 0.6767 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.399, allocations: 2.05 MB / 0.6787 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3993, allocations: 0.7152 MB / 0.6794 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.3995, allocations: 36.94 kB / 0.6795 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.3995, allocations: 45.7 kB / 0.6795 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.3995, allocations: 0 / 0.6795 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.4227, allocations: 5.175 MB / 0.6846 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.88, allocations: 5.734 kB / 0.6846 GB, free: 6.395 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties_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_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)