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.001407/0.001407, allocations: 172.5 kB / 7.647 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.7788/0.7788, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.602/1.602, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009605/0.0009604, allocations: 93.8 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.155e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5339, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8942/1.428, allocations: 353.7 MB / 0.9794 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/1.429, allocations: 73.16 kB / 0.9794 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.05097/1.48, allocations: 20.06 MB / 0.999 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.48, allocations: 3.938 kB / 0.999 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.245e-05/1.48, allocations: 7.5 kB / 0.999 GB, free: 14.7 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.0009831/1.481, allocations: 477.6 kB / 0.9995 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/1.481, allocations: 15.97 kB / 0.9995 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/1.481, allocations: 23.8 kB / 0.9995 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/1.481, allocations: 210.1 kB / 0.9997 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.481, allocations: 8 kB / 0.9997 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/1.481, allocations: 8 kB / 0.9997 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006012/1.482, allocations: 406.9 kB / 1 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/1.482, allocations: 219.9 kB / 1 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/1.483, allocations: 0 / 1 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/1.483, allocations: 0 / 1 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/1.483, allocations: 15.98 kB / 1 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/1.484, allocations: 0.9465 MB / 1.001 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/1.484, allocations: 142.2 kB / 1.001 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/1.484, allocations: 51.2 kB / 1.001 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/1.486, allocations: 1.914 MB / 1.003 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.486, allocations: 38.31 kB / 1.003 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/1.486, allocations: 3.938 kB / 1.003 GB, free: 10 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0008565/1.487, allocations: 141 kB / 1.003 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.487, allocations: 51.41 kB / 1.004 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/1.487, allocations: 135.6 kB / 1.004 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/1.487, allocations: 25.7 kB / 1.004 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/1.488, allocations: 150.6 kB / 1.004 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/1.488, allocations: 42.98 kB / 1.004 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/1.488, allocations: 0 / 1.004 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.488, allocations: 325.9 kB / 1.004 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/1.488, allocations: 27.19 kB / 1.004 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/1.488, allocations: 140.3 kB / 1.004 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/1.488, allocations: 80.75 kB / 1.004 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.488, allocations: 0 / 1.004 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005251/1.489, allocations: 203 kB / 1.005 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.489, allocations: 8 kB / 1.005 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.489, allocations: 4 kB / 1.005 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/1.489, allocations: 4 kB / 1.005 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/1.489, allocations: 60.38 kB / 1.005 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/1.489, allocations: 11.95 kB / 1.005 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.489, allocations: 23.69 kB / 1.005 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/1.49, allocations: 19.48 kB / 1.005 GB, free: 8.586 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 0.0001418/1.49, allocations: 114.5 kB / 1.005 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004137/1.49, allocations: 128.9 kB / 1.005 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.49, allocations: 15.81 kB / 1.005 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/1.491, allocations: 170.1 kB / 1.005 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/1.491, allocations: 11.98 kB / 1.005 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.491, allocations: 0 / 1.005 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.491, allocations: 3.938 kB / 1.005 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/1.491, allocations: 185.3 kB / 1.005 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.491, allocations: 0 / 1.005 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/1.491, allocations: 31.92 kB / 1.005 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.491, allocations: 0 / 1.005 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/1.491, allocations: 8 kB / 1.005 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.491, allocations: 3.984 kB / 1.005 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.491, allocations: 3.953 kB / 1.005 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/1.492, allocations: 229.9 kB / 1.006 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.492, allocations: 116.3 kB / 1.006 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/1.492, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/1.492, allocations: 15.98 kB / 1.006 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/1.492, allocations: 19.42 kB / 1.006 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/1.492, allocations: 11.94 kB / 1.006 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.795e-05/1.492, allocations: 109.7 kB / 1.006 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.9e-07/1.492, allocations: 0 / 1.006 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005209/1.493, allocations: 79.47 kB / 1.006 GB, free: 7.359 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.001192/1.494, allocations: 0.8454 MB / 1.007 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002573/1.494, allocations: 98.8 kB / 1.007 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.494, allocations: 0 / 1.007 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/1.495, allocations: 42.86 kB / 1.007 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/1.495, allocations: 35.14 kB / 1.007 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/1.496, allocations: 227.3 kB / 1.007 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/1.496, allocations: 0.7178 MB / 1.008 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001795/1.496, allocations: 41.77 kB / 1.008 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/1.497, allocations: 46.16 kB / 1.008 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of SimCode: time 2.645e-06/1.497, allocations: 0 / 1.008 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/1.523, allocations: 4.171 MB / 1.012 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.523, allocations: 123.7 kB / 1.012 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/3.32, allocations: 0 / 1.012 GB, free: 0.9688 MB / 0.6355 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)