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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0068/0.0068, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7664/0.7664, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 406.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 99.69 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 12 kB / 0.5691 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3981, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/1.078, allocations: 354.5 MB / 0.9957 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.078, allocations: 70.59 kB / 0.9958 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04688/1.125, allocations: 20.21 MB / 1.015 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/1.125, allocations: 0 / 1.015 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.101e-05/1.125, allocations: 8 kB / 1.015 GB, free: 2.449 MB / 0.6511 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.0007585/1.126, allocations: 493.8 kB / 1.016 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.126, allocations: 11.97 kB / 1.016 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/1.126, allocations: 50.17 kB / 1.016 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/1.126, allocations: 19.81 kB / 1.016 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/1.126, allocations: 221.3 kB / 1.016 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.126, allocations: 16.14 kB / 1.016 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/1.127, allocations: 19.31 kB / 1.016 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/1.127, allocations: 238.9 kB / 1.017 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.127, allocations: 0 / 1.017 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.127, allocations: 7.312 kB / 1.017 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.127, allocations: 4 kB / 1.017 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/1.127, allocations: 432.5 kB / 1.017 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/1.129, allocations: 0.9958 MB / 1.018 GB, free: 44 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/1.129, allocations: 161.2 kB / 1.018 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/1.13, allocations: 1.843 MB / 1.02 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.13, allocations: 38.45 kB / 1.02 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/1.13, allocations: 0 / 1.02 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0003067/1.131, allocations: 144.5 kB / 1.02 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.131, allocations: 59.34 kB / 1.02 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/1.131, allocations: 153.1 kB / 1.02 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/1.131, allocations: 37.19 kB / 1.02 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/1.131, allocations: 142.6 kB / 1.02 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/1.131, allocations: 46.17 kB / 1.02 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/1.131, allocations: 7.625 kB / 1.02 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.131, allocations: 322.2 kB / 1.021 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/1.131, allocations: 39.03 kB / 1.021 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/1.131, allocations: 136.3 kB / 1.021 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/1.131, allocations: 63.7 kB / 1.021 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.132, allocations: 4 kB / 1.021 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002994/1.132, allocations: 210.3 kB / 1.021 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.132, allocations: 8 kB / 1.021 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.132, allocations: 4.469 kB / 1.021 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.132, allocations: 11.95 kB / 1.021 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/1.132, allocations: 55.91 kB / 1.021 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.132, allocations: 11.94 kB / 1.021 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/1.132, allocations: 23.12 kB / 1.021 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.132, allocations: 15.81 kB / 1.021 GB, free: 12.28 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.132, allocations: 132.9 kB / 1.021 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/1.132, allocations: 15.81 kB / 1.021 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/1.133, allocations: 160.6 kB / 1.022 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.133, allocations: 3.953 kB / 1.022 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.133, allocations: 0 / 1.022 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.133, allocations: 0 / 1.022 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/1.133, allocations: 215.8 kB / 1.022 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.133, allocations: 4 kB / 1.022 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/1.133, allocations: 31.92 kB / 1.022 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.133, allocations: 4 kB / 1.022 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/1.133, allocations: 15.78 kB / 1.022 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.133, allocations: 0 / 1.022 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.133, allocations: 7.953 kB / 1.022 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/1.133, allocations: 207.9 kB / 1.022 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.134, allocations: 120.4 kB / 1.022 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/1.134, allocations: 7.75 kB / 1.022 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.134, allocations: 23.77 kB / 1.022 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/1.134, allocations: 11.98 kB / 1.022 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/1.134, allocations: 15.94 kB / 1.022 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001016/1.134, allocations: 119.5 kB / 1.022 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.1e-07/1.134, allocations: 0 / 1.022 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004328/1.134, allocations: 87.11 kB / 1.022 GB, free: 11.14 MB / 0.6667 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 (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.0007327/1.135, allocations: 0.8292 MB / 1.023 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002385/1.135, allocations: 121.6 kB / 1.023 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.135, allocations: 4 kB / 1.023 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/1.135, allocations: 43.23 kB / 1.023 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/1.136, allocations: 48.2 kB / 1.023 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/1.138, allocations: 3.278 MB / 1.027 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.138, allocations: 0.7211 MB / 1.027 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001918/1.139, allocations: 45.91 kB / 1.027 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/1.139, allocations: 45.28 kB / 1.027 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of SimCode: time 4.21e-07/1.139, allocations: 0 / 1.027 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/1.155, allocations: 5.097 MB / 1.032 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.155, allocations: 161.4 kB / 1.033 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.86, allocations: 3.938 kB / 1.033 GB, free: 0.8203 MB / 0.6667 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)