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.001562/0.001561, allocations: 100 kB / 15.05 MB, free: 1.105 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.002187/0.002186, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.373/2.373, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.272/1.272, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006116/0.0006118, allocations: 8 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.076, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.008895/1.085, allocations: 3.938 MB / 0.5868 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004543/1.09, allocations: 2.171 MB / 0.5889 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/1.09, allocations: 1.281 kB / 0.5889 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/1.09, allocations: 41.69 kB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005059/1.091, allocations: 78.88 kB / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/1.094, allocations: 434.9 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007404/1.095, allocations: 151.4 kB / 0.5896 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/1.095, allocations: 8.781 kB / 0.5896 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/1.096, allocations: 107.7 kB / 0.5897 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/1.096, allocations: 70.12 kB / 0.5898 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/1.096, allocations: 7.75 kB / 0.5898 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/1.098, allocations: 295.6 kB / 0.5901 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/1.098, allocations: 37.86 kB / 0.5901 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/1.098, allocations: 52.95 kB / 0.5901 GB, free: 15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009488/1.099, allocations: 216.9 kB / 0.5904 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.099, allocations: 0 / 0.5904 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.831e-06/1.099, allocations: 1.75 kB / 0.5904 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/1.1, allocations: 0 / 0.5904 GB, free: 14.93 MB / 446.1 MB 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.0014/1.101, allocations: 473.5 kB / 0.5908 GB, free: 14.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.958e-05/1.101, allocations: 9.219 kB / 0.5908 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/1.101, allocations: 57.12 kB / 0.5909 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/1.101, allocations: 30.86 kB / 0.5909 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/1.102, allocations: 211 kB / 0.5911 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/1.102, allocations: 11.14 kB / 0.5911 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/1.102, allocations: 18.28 kB / 0.5911 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/1.103, allocations: 235.8 kB / 0.5914 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/1.103, allocations: 3.938 kB / 0.5914 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/1.103, allocations: 15.06 kB / 0.5914 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/1.103, allocations: 6.719 kB / 0.5914 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/1.104, allocations: 432.4 kB / 0.5918 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/1.107, allocations: 0.9789 MB / 0.5927 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/1.108, allocations: 159.5 kB / 0.5929 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005317/1.113, allocations: 1.849 MB / 0.5947 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.613e-05/1.113, allocations: 37.83 kB / 0.5947 GB, free: 10.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 4.008e-06/1.113, allocations: 0 / 0.5947 GB, free: 10.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001229/1.114, allocations: 139.5 kB / 0.5949 GB, free: 10.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/1.114, allocations: 53.89 kB / 0.5949 GB, free: 10.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.115, allocations: 172.3 kB / 0.5951 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/1.116, allocations: 31.59 kB / 0.5951 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/1.116, allocations: 145 kB / 0.5953 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/1.116, allocations: 55.61 kB / 0.5953 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/1.116, allocations: 1.562 kB / 0.5953 GB, free: 10.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002611/1.116, allocations: 326.4 kB / 0.5956 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/1.116, allocations: 38.8 kB / 0.5957 GB, free: 10.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/1.117, allocations: 139.2 kB / 0.5958 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/1.117, allocations: 58.58 kB / 0.5958 GB, free: 10 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.117, allocations: 1.375 kB / 0.5958 GB, free: 10 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006921/1.118, allocations: 212.5 kB / 0.5961 GB, free: 9.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.118, allocations: 5.938 kB / 0.5961 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.118, allocations: 3.719 kB / 0.5961 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/1.118, allocations: 6.5 kB / 0.5961 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/1.118, allocations: 61.44 kB / 0.5961 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.959e-05/1.118, allocations: 12.78 kB / 0.5961 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/1.118, allocations: 30.64 kB / 0.5962 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/1.119, allocations: 16 kB / 0.5962 GB, free: 9.863 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003123/1.119, allocations: 131.9 kB / 0.5963 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/1.119, allocations: 20.33 kB / 0.5963 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/1.12, allocations: 160.6 kB / 0.5965 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/1.12, allocations: 3.453 kB / 0.5965 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.12, allocations: 0 / 0.5965 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/1.12, allocations: 1.391 kB / 0.5965 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/1.12, allocations: 208.8 kB / 0.5967 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/1.12, allocations: 0.5938 kB / 0.5967 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.12, allocations: 32.33 kB / 0.5967 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/1.121, allocations: 0.6094 kB / 0.5967 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/1.121, allocations: 15.16 kB / 0.5967 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.121, allocations: 0.8125 kB / 0.5967 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.121, allocations: 0.5625 kB / 0.5967 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/1.121, allocations: 222 kB / 0.5969 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/1.121, allocations: 125 kB / 0.5971 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/1.121, allocations: 5.125 kB / 0.5971 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/1.122, allocations: 19.94 kB / 0.5971 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/1.122, allocations: 12.75 kB / 0.5971 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.122, allocations: 9.75 kB / 0.5971 GB, free: 9.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000192/1.122, allocations: 122 kB / 0.5972 GB, free: 9.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/1.122, allocations: 0 / 0.5972 GB, free: 9.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008788/1.123, allocations: 77.33 kB / 0.5973 GB, free: 9.023 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/1.125, allocations: 0.8204 MB / 0.5981 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006443/1.125, allocations: 122.7 kB / 0.5982 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.126, allocations: 1.375 kB / 0.5982 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/1.126, allocations: 43.67 kB / 0.5983 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/1.127, allocations: 55.53 kB / 0.5983 GB, free: 8.238 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/1.132, allocations: 3.262 MB / 0.6015 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/1.132, allocations: 0.7188 MB / 0.6022 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004113/1.133, allocations: 49.69 kB / 0.6022 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.133, allocations: 46.16 kB / 0.6023 GB, free: 4.539 MB / 446.1 MB Notification: Performance of SimCode: time 2.114e-06/1.133, allocations: 0 / 0.6023 GB, free: 4.539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/1.16, allocations: 4.716 MB / 0.6069 GB, free: 2.629 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/1.16, allocations: 153.4 kB / 0.607 GB, free: 2.391 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.274, allocations: 1.156 kB / 0.607 GB, free: 2.391 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: