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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.006575/0.006575, allocations: 172 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.845/0.845, allocations: 135.2 MB / 151 MB, free: 13.82 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.687/1.687, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.001033/0.001034, allocations: 105.2 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004192, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4519, allocations: 82.31 MB / 0.6495 GB, free: 36.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8706/1.323, allocations: 354.5 MB / 0.9957 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.323, allocations: 74.39 kB / 0.9958 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04867/1.372, allocations: 20.21 MB / 1.015 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.934e-06/1.372, allocations: 0 / 1.015 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.372, allocations: 8 kB / 1.015 GB, free: 2.316 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.0007668/1.372, allocations: 485.5 kB / 1.016 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.372, allocations: 12.03 kB / 1.016 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/1.373, allocations: 49.42 kB / 1.016 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/1.373, allocations: 31.73 kB / 1.016 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/1.373, allocations: 217.8 kB / 1.016 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.373, allocations: 23.48 kB / 1.016 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.373, allocations: 11.62 kB / 1.016 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/1.373, allocations: 241.3 kB / 1.017 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.373, allocations: 0 / 1.017 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/1.373, allocations: 10.94 kB / 1.017 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/1.373, allocations: 4 kB / 1.017 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/1.374, allocations: 427 kB / 1.017 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/1.375, allocations: 0.9965 MB / 1.018 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/1.375, allocations: 163.4 kB / 1.018 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/1.377, allocations: 1.838 MB / 1.02 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.377, allocations: 45.83 kB / 1.02 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/1.377, allocations: 0 / 1.02 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.000315/1.377, allocations: 138.3 kB / 1.02 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/1.377, allocations: 63.34 kB / 1.02 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/1.377, allocations: 152.2 kB / 1.02 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.377, allocations: 29.58 kB / 1.02 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/1.378, allocations: 146.8 kB / 1.02 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/1.378, allocations: 50.92 kB / 1.02 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/1.378, allocations: 3.75 kB / 1.02 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.378, allocations: 322.6 kB / 1.021 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/1.378, allocations: 39.78 kB / 1.021 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/1.378, allocations: 140.2 kB / 1.021 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.113e-05/1.378, allocations: 55.42 kB / 1.021 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.378, allocations: 8 kB / 1.021 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002944/1.378, allocations: 211.6 kB / 1.021 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.378, allocations: 4 kB / 1.021 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.378, allocations: 4.469 kB / 1.021 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.378, allocations: 15.95 kB / 1.021 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/1.379, allocations: 55.91 kB / 1.021 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.379, allocations: 7.938 kB / 1.021 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/1.379, allocations: 27.5 kB / 1.021 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/1.379, allocations: 11.81 kB / 1.021 GB, free: 12.16 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.0001106/1.379, allocations: 133 kB / 1.021 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/1.379, allocations: 19.81 kB / 1.021 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/1.379, allocations: 155.4 kB / 1.022 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.379, allocations: 7.953 kB / 1.022 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.379, allocations: 0 / 1.022 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.379, allocations: 0 / 1.022 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/1.38, allocations: 220.8 kB / 1.022 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.38, allocations: 0 / 1.022 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.38, allocations: 39.8 kB / 1.022 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/1.38, allocations: 0 / 1.022 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.38, allocations: 4 kB / 1.022 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.38, allocations: 3.984 kB / 1.022 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.38, allocations: 3.953 kB / 1.022 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/1.38, allocations: 214.6 kB / 1.022 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/1.38, allocations: 120.4 kB / 1.022 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/1.38, allocations: 11.92 kB / 1.022 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/1.38, allocations: 23.7 kB / 1.022 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/1.38, allocations: 7.984 kB / 1.022 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/1.38, allocations: 23.88 kB / 1.022 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 7.978e-05/1.381, allocations: 111.8 kB / 1.022 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.381, allocations: 0 / 1.022 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004145/1.381, allocations: 83.56 kB / 1.022 GB, free: 11.01 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.0006664/1.382, allocations: 0.8332 MB / 1.023 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002177/1.382, allocations: 117 kB / 1.023 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.382, allocations: 0 / 1.023 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/1.382, allocations: 47.41 kB / 1.023 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/1.382, allocations: 51.89 kB / 1.023 GB, free: 10 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/1.385, allocations: 3.274 MB / 1.027 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/1.385, allocations: 0.7249 MB / 1.027 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002006/1.385, allocations: 41.91 kB / 1.027 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/1.385, allocations: 49.41 kB / 1.027 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of SimCode: time 1.002e-06/1.385, allocations: 0 / 1.027 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/1.401, allocations: 5.095 MB / 1.032 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/1.402, allocations: 153.2 kB / 1.033 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/3.096, allocations: 0 / 1.033 GB, free: 0.707 MB / 0.6667 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 & /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)