Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",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.004505/0.004504, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001254/0.001255, allocations: 199.1 kB / 16.68 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8107/0.8107, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3735, allocations: 80.2 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005679/0.3792, allocations: 4.729 MB / 0.6638 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.3818, allocations: 2.698 MB / 0.6665 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.3819, allocations: 1.375 kB / 0.6665 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.3822, allocations: 51.48 kB / 0.6665 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.3825, allocations: 94.52 kB / 0.6666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3835, allocations: 0.4989 MB / 0.6671 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3837, allocations: 231.3 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.3838, allocations: 9.281 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.384, allocations: 121.4 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3841, allocations: 93.59 kB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3842, allocations: 8.125 kB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006026/0.3848, allocations: 363.7 kB / 0.6679 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.3849, allocations: 38.45 kB / 0.6679 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.3849, allocations: 88.14 kB / 0.668 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.3855, allocations: 352 kB / 0.6683 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3855, allocations: 3.938 kB / 0.6683 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3855, allocations: 0 / 0.6683 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3855, allocations: 1.094 kB / 0.6683 GB, free: 3.129 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.0006138/0.3861, allocations: 0.505 MB / 0.6688 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3861, allocations: 13.61 kB / 0.6689 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.3862, allocations: 49.67 kB / 0.6689 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3864, allocations: 28.78 kB / 0.6689 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3866, allocations: 219 kB / 0.6691 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3866, allocations: 10.55 kB / 0.6691 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3866, allocations: 14.41 kB / 0.6692 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.387, allocations: 249.9 kB / 0.6694 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.387, allocations: 5.344 kB / 0.6694 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.387, allocations: 10.67 kB / 0.6694 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.387, allocations: 9.031 kB / 0.6694 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.3875, allocations: 429.3 kB / 0.6698 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.3883, allocations: 0.9495 MB / 0.6708 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3886, allocations: 155.4 kB / 0.6709 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.3887, allocations: 68.38 kB / 0.671 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.39, allocations: 1.831 MB / 0.6728 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.39, allocations: 32.12 kB / 0.6728 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.39, allocations: 1.531 kB / 0.6728 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003425/0.3904, allocations: 153.3 kB / 0.6729 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3904, allocations: 57.62 kB / 0.673 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3906, allocations: 171.8 kB / 0.6732 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3906, allocations: 31.06 kB / 0.6732 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.3907, allocations: 140.9 kB / 0.6733 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3908, allocations: 58.2 kB / 0.6734 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.3909, allocations: 57.25 kB / 0.6734 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.391, allocations: 321.9 kB / 0.6737 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.3911, allocations: 33.52 kB / 0.6738 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3912, allocations: 146 kB / 0.6739 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.3915, allocations: 203.8 kB / 0.6741 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3915, allocations: 1 kB / 0.6741 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003355/0.3918, allocations: 214.8 kB / 0.6743 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3919, allocations: 9.25 kB / 0.6743 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3919, allocations: 7.047 kB / 0.6743 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3919, allocations: 8.688 kB / 0.6743 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.3921, allocations: 49.2 kB / 0.6744 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3921, allocations: 8.969 kB / 0.6744 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3922, allocations: 32.16 kB / 0.6744 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3922, allocations: 14.81 kB / 0.6744 GB, free: 13.37 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.0001249/0.3924, allocations: 138.5 kB / 0.6746 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.3924, allocations: 17.97 kB / 0.6746 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.3927, allocations: 156 kB / 0.6747 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3927, allocations: 6.219 kB / 0.6747 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3927, allocations: 0 / 0.6747 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3928, allocations: 5.656 kB / 0.6747 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.393, allocations: 212.5 kB / 0.6749 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.393, allocations: 1.156 kB / 0.675 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.3931, allocations: 31.02 kB / 0.675 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3931, allocations: 1 kB / 0.675 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3932, allocations: 1.125 kB / 0.675 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3932, allocations: 5.5 kB / 0.675 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3932, allocations: 3.938 kB / 0.675 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3934, allocations: 225 kB / 0.6752 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.3935, allocations: 105.4 kB / 0.6753 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3936, allocations: 5.438 kB / 0.6753 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3938, allocations: 15.36 kB / 0.6753 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.3938, allocations: 13.2 kB / 0.6753 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3938, allocations: 8.219 kB / 0.6753 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001054/0.3939, allocations: 129 kB / 0.6755 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3939, allocations: 0 / 0.6755 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00037/0.3943, allocations: 81.97 kB / 0.6755 GB, free: 12.43 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.0007372/0.3951, allocations: 0.8236 MB / 0.6764 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3953, allocations: 116.5 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3953, allocations: 1.281 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.3954, allocations: 43.45 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3958, allocations: 68.72 kB / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3981, allocations: 2.048 MB / 0.6786 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3984, allocations: 0.7116 MB / 0.6793 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.3986, allocations: 43.5 kB / 0.6793 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.3987, allocations: 44.92 kB / 0.6794 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.3987, allocations: 4 kB / 0.6794 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.4246, allocations: 5.233 MB / 0.6845 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.421, allocations: 9.281 kB / 0.6845 GB, free: 6.363 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.WaterProperties_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_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)