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.001211/0.001211, allocations: 177.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8193/0.8193, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.00127/0.00127, allocations: 104.6 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.57e-05, allocations: 0 / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5829, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.898/1.481, allocations: 353.7 MB / 0.9794 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.481, allocations: 68.28 kB / 0.9794 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04785/1.529, allocations: 20.05 MB / 0.999 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/1.529, allocations: 0 / 0.999 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.348e-06/1.529, allocations: 4 kB / 0.999 GB, free: 14.67 MB / 0.6355 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.0007496/1.53, allocations: 477.6 kB / 0.9995 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.53, allocations: 12.03 kB / 0.9995 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/1.53, allocations: 27.73 kB / 0.9995 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/1.53, allocations: 217.8 kB / 0.9997 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/1.531, allocations: 12 kB / 0.9997 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/1.531, allocations: 8 kB / 0.9997 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004981/1.531, allocations: 407.1 kB / 1 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/1.531, allocations: 222.1 kB / 1 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.531, allocations: 0 / 1 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/1.531, allocations: 0 / 1 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/1.531, allocations: 15.94 kB / 1 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.533, allocations: 0.9439 MB / 1.001 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/1.533, allocations: 147.8 kB / 1.001 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/1.533, allocations: 50.86 kB / 1.001 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/1.535, allocations: 1.911 MB / 1.003 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/1.535, allocations: 38.5 kB / 1.003 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/1.535, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004818/1.535, allocations: 140.3 kB / 1.003 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/1.535, allocations: 51.41 kB / 1.004 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/1.535, allocations: 128.5 kB / 1.004 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/1.535, allocations: 25.7 kB / 1.004 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/1.535, allocations: 151.2 kB / 1.004 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/1.535, allocations: 43.05 kB / 1.004 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/1.535, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.536, allocations: 325.7 kB / 1.004 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/1.536, allocations: 31.17 kB / 1.004 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/1.536, allocations: 136.7 kB / 1.004 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/1.536, allocations: 80.62 kB / 1.004 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.536, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004552/1.537, allocations: 203.3 kB / 1.005 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.537, allocations: 9.562 kB / 1.005 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.537, allocations: 4 kB / 1.005 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.537, allocations: 4 kB / 1.005 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/1.537, allocations: 63.75 kB / 1.005 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.537, allocations: 15.94 kB / 1.005 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/1.537, allocations: 23.69 kB / 1.005 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/1.537, allocations: 15.75 kB / 1.005 GB, free: 8.547 MB / 0.6355 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 () * 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 9.599e-05/1.537, allocations: 108.9 kB / 1.005 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003701/1.537, allocations: 132.8 kB / 1.005 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/1.537, allocations: 19.8 kB / 1.005 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/1.538, allocations: 174.1 kB / 1.005 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/1.538, allocations: 4 kB / 1.005 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.538, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.538, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/1.538, allocations: 184.6 kB / 1.005 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.538, allocations: 0 / 1.005 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/1.538, allocations: 31.92 kB / 1.005 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.538, allocations: 0 / 1.005 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/1.538, allocations: 7.984 kB / 1.005 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.538, allocations: 0 / 1.005 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.538, allocations: 3.953 kB / 1.005 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/1.539, allocations: 237.5 kB / 1.006 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.733e-05/1.539, allocations: 115.8 kB / 1.006 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/1.539, allocations: 0 / 1.006 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/1.539, allocations: 15.98 kB / 1.006 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/1.539, allocations: 15.92 kB / 1.006 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/1.539, allocations: 15.88 kB / 1.006 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.386e-05/1.539, allocations: 113.4 kB / 1.006 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.539, allocations: 0 / 1.006 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004068/1.54, allocations: 83.58 kB / 1.006 GB, free: 7.316 MB / 0.6355 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 () * 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.0008971/1.541, allocations: 0.8413 MB / 1.007 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002199/1.541, allocations: 102.8 kB / 1.007 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.541, allocations: 0 / 1.007 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.434e-05/1.541, allocations: 39.12 kB / 1.007 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/1.541, allocations: 35.08 kB / 1.007 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/1.542, allocations: 226.6 kB / 1.007 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/1.542, allocations: 0.7178 MB / 1.008 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000171/1.543, allocations: 45.8 kB / 1.008 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/1.543, allocations: 41.36 kB / 1.008 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/1.543, allocations: 3.938 kB / 1.008 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/1.57, allocations: 4.173 MB / 1.012 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/1.57, allocations: 106.2 kB / 1.012 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/3.327, allocations: 0 / 1.012 GB, free: 0.9336 MB / 0.6355 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)