Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_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.008265/0.008265, allocations: 98.8 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.001977/0.001977, allocations: 194 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9247/0.9247, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3993, allocations: 80.92 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004522/0.4039, allocations: 4.722 MB / 0.6688 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.4059, allocations: 2.702 MB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.406, allocations: 1.5 kB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.4063, allocations: 47.48 kB / 0.6715 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.4065, allocations: 96.05 kB / 0.6716 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009541/0.4075, allocations: 0.5159 MB / 0.6721 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.4077, allocations: 229.1 kB / 0.6723 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.4077, allocations: 16.94 kB / 0.6723 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.4079, allocations: 122.4 kB / 0.6724 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.408, allocations: 85.08 kB / 0.6725 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.4081, allocations: 8 kB / 0.6725 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.4087, allocations: 372.4 kB / 0.6729 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.4087, allocations: 37.73 kB / 0.6729 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.002e-05/0.4088, allocations: 88.39 kB / 0.673 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.4093, allocations: 359.6 kB / 0.6733 GB, free: 36 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4093, allocations: 5.031 kB / 0.6733 GB, free: 32 kB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4093, allocations: 0 / 0.6733 GB, free: 32 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4093, allocations: 0 / 0.6733 GB, free: 32 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.0007066/0.4101, allocations: 0.5044 MB / 0.6738 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4101, allocations: 8.969 kB / 0.6738 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.4102, allocations: 48.92 kB / 0.6739 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.4103, allocations: 26.8 kB / 0.6739 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.4106, allocations: 220.7 kB / 0.6741 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4106, allocations: 11.02 kB / 0.6741 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.4106, allocations: 22.72 kB / 0.6742 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.411, allocations: 246.3 kB / 0.6744 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.411, allocations: 0 / 0.6744 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.4111, allocations: 6.531 kB / 0.6744 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.4111, allocations: 9.938 kB / 0.6744 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.4116, allocations: 428.5 kB / 0.6748 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.4127, allocations: 0.9539 MB / 0.6758 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.4129, allocations: 162.6 kB / 0.6759 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.4131, allocations: 61.84 kB / 0.676 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.4144, allocations: 1.832 MB / 0.6778 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.4144, allocations: 40.03 kB / 0.6778 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.4144, allocations: 0 / 0.6778 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000327/0.4147, allocations: 148.6 kB / 0.6779 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.4148, allocations: 52.91 kB / 0.678 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4149, allocations: 168.1 kB / 0.6781 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.415, allocations: 30.83 kB / 0.6782 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.4151, allocations: 140.5 kB / 0.6783 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.4151, allocations: 57.53 kB / 0.6784 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.4152, allocations: 52.81 kB / 0.6784 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4153, allocations: 330.3 kB / 0.6787 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.4154, allocations: 37.27 kB / 0.6788 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4155, allocations: 134.9 kB / 0.6789 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.4158, allocations: 214.3 kB / 0.6791 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4158, allocations: 1.969 kB / 0.6791 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003203/0.4161, allocations: 215 kB / 0.6793 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4161, allocations: 7.531 kB / 0.6793 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4161, allocations: 3.188 kB / 0.6793 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4161, allocations: 8.594 kB / 0.6793 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.4163, allocations: 57.41 kB / 0.6794 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.4163, allocations: 4.469 kB / 0.6794 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.4165, allocations: 28.56 kB / 0.6794 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.4165, allocations: 15.28 kB / 0.6794 GB, free: 10.28 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.0001107/0.4166, allocations: 143 kB / 0.6796 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.4167, allocations: 20.14 kB / 0.6796 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.417, allocations: 148.9 kB / 0.6797 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.417, allocations: 7.094 kB / 0.6797 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.417, allocations: 0 / 0.6797 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.417, allocations: 3.984 kB / 0.6797 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4172, allocations: 217.1 kB / 0.6799 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4172, allocations: 1.188 kB / 0.6799 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.4173, allocations: 31.23 kB / 0.68 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4174, allocations: 0 / 0.68 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4174, allocations: 10.12 kB / 0.68 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4174, allocations: 5.156 kB / 0.68 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4174, allocations: 0 / 0.68 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.4176, allocations: 217.5 kB / 0.6802 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4177, allocations: 110.3 kB / 0.6803 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.4178, allocations: 0 / 0.6803 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.418, allocations: 20.11 kB / 0.6803 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.418, allocations: 12.48 kB / 0.6803 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.418, allocations: 11.75 kB / 0.6803 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.156e-05/0.4181, allocations: 124.1 kB / 0.6805 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4181, allocations: 0 / 0.6805 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003864/0.4185, allocations: 81.17 kB / 0.6805 GB, free: 9.34 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.0007035/0.4192, allocations: 0.8258 MB / 0.6813 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.4195, allocations: 121 kB / 0.6815 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4195, allocations: 1.094 kB / 0.6815 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.4196, allocations: 55.56 kB / 0.6815 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.42, allocations: 56.06 kB / 0.6816 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.4222, allocations: 2.029 MB / 0.6835 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.4225, allocations: 0.7156 MB / 0.6842 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.4226, allocations: 42.94 kB / 0.6843 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.4227, allocations: 49.55 kB / 0.6843 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4227, allocations: 0 / 0.6843 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.4449, allocations: 5.238 MB / 0.6894 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.477, allocations: 8.5 kB / 0.6895 GB, free: 3.254 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)