Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.0129/0.0129, allocations: 171.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9954/0.9954, 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.873/1.873, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001088/0.001089, allocations: 94.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004909, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5532, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8912/1.444, allocations: 400.5 MB / 1.041 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.445, allocations: 76.19 kB / 1.041 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5029/1.948, allocations: 25.96 MB / 1.066 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/1.948, allocations: 0 / 1.066 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.948, allocations: 3.938 kB / 1.066 GB, free: 262.1 MB / 0.6823 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.0007958/1.949, allocations: 0.5001 MB / 1.067 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.949, allocations: 7.688 kB / 1.067 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/1.949, allocations: 54.17 kB / 1.067 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/1.949, allocations: 22.77 kB / 1.067 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/1.949, allocations: 205.6 kB / 1.067 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.949, allocations: 15.95 kB / 1.067 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/1.949, allocations: 18.91 kB / 1.067 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/1.95, allocations: 238.9 kB / 1.067 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.95, allocations: 0 / 1.067 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/1.95, allocations: 15.47 kB / 1.067 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/1.95, allocations: 3.969 kB / 1.067 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/1.95, allocations: 435.2 kB / 1.068 GB, free: 260.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/1.951, allocations: 1.031 MB / 1.069 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/1.951, allocations: 164.3 kB / 1.069 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.952, allocations: 1.838 MB / 1.071 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/1.953, allocations: 38.56 kB / 1.071 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/1.953, allocations: 0 / 1.071 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003194/1.953, allocations: 147.5 kB / 1.071 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/1.953, allocations: 55.41 kB / 1.071 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.953, allocations: 154.4 kB / 1.071 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/1.953, allocations: 29.7 kB / 1.071 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/1.953, allocations: 147.3 kB / 1.071 GB, free: 257 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/1.953, allocations: 47.3 kB / 1.071 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/1.953, allocations: 8 kB / 1.071 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.287e-05/1.953, allocations: 326.8 kB / 1.071 GB, free: 256.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/1.953, allocations: 39.97 kB / 1.071 GB, free: 256.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/1.953, allocations: 133.7 kB / 1.072 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/1.953, allocations: 55.92 kB / 1.072 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.953, allocations: 4 kB / 1.072 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002582/1.954, allocations: 215.3 kB / 1.072 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.954, allocations: 4 kB / 1.072 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.954, allocations: 4 kB / 1.072 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.954, allocations: 15.94 kB / 1.072 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/1.954, allocations: 55.92 kB / 1.072 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.954, allocations: 7.984 kB / 1.072 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/1.954, allocations: 31.69 kB / 1.072 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/1.954, allocations: 8 kB / 1.072 GB, free: 256 MB / 0.6823 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 9.969e-05/1.954, allocations: 134 kB / 1.072 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/1.954, allocations: 15.81 kB / 1.072 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/1.955, allocations: 162.8 kB / 1.072 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.955, allocations: 4 kB / 1.072 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.955, allocations: 3.953 kB / 1.072 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.955, allocations: 0 / 1.072 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/1.955, allocations: 220.7 kB / 1.072 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.955, allocations: 0 / 1.072 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/1.955, allocations: 31.98 kB / 1.073 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.955, allocations: 0 / 1.073 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.955, allocations: 7.938 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.955, allocations: 4 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.955, allocations: 3.938 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/1.955, allocations: 225.3 kB / 1.073 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/1.955, allocations: 112.9 kB / 1.073 GB, free: 255 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/1.955, allocations: 0 / 1.073 GB, free: 255 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/1.956, allocations: 23.98 kB / 1.073 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/1.956, allocations: 11.98 kB / 1.073 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/1.956, allocations: 11.98 kB / 1.073 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.746e-05/1.956, allocations: 123.9 kB / 1.073 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.956, allocations: 0 / 1.073 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004269/1.956, allocations: 79.94 kB / 1.073 GB, free: 254.7 MB / 0.6823 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.0006419/1.957, allocations: 0.8777 MB / 1.074 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002235/1.957, allocations: 122 kB / 1.074 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.957, allocations: 4 kB / 1.074 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/1.957, allocations: 43.92 kB / 1.074 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/1.957, allocations: 41.61 kB / 1.074 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/1.959, allocations: 3.281 MB / 1.077 GB, free: 250.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/1.959, allocations: 0.7172 MB / 1.078 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001808/1.96, allocations: 53.66 kB / 1.078 GB, free: 249.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/1.96, allocations: 47.42 kB / 1.078 GB, free: 249.4 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/1.96, allocations: 0 / 1.078 GB, free: 249.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/1.976, allocations: 5.334 MB / 1.083 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.976, allocations: 177.4 kB / 1.084 GB, free: 244 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/3.679, allocations: 1.375 kB / 1.084 GB, free: 244 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)