Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_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.009996/0.009996, allocations: 169.8 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.9035/0.9035, 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.985/1.985, 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.001099/0.001099, allocations: 97.45 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004841, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4964, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.52, allocations: 400.6 MB / 1.041 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.521, allocations: 68.28 kB / 1.041 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5707/2.092, allocations: 25.95 MB / 1.066 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.106e-06/2.092, allocations: 4 kB / 1.066 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.417e-05/2.092, allocations: 3.75 kB / 1.066 GB, free: 262.2 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.0009879/2.093, allocations: 0.4951 MB / 1.067 GB, free: 261.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/2.093, allocations: 11.83 kB / 1.067 GB, free: 261.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.111e-05/2.093, allocations: 54.47 kB / 1.067 GB, free: 261.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/2.093, allocations: 23.45 kB / 1.067 GB, free: 261.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/2.093, allocations: 212.2 kB / 1.067 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/2.093, allocations: 11.92 kB / 1.067 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/2.093, allocations: 15.5 kB / 1.067 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/2.094, allocations: 243.3 kB / 1.067 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/2.094, allocations: 3.938 kB / 1.067 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/2.094, allocations: 7.938 kB / 1.067 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/2.094, allocations: 7.953 kB / 1.067 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/2.094, allocations: 428.7 kB / 1.068 GB, free: 261 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/2.095, allocations: 1.04 MB / 1.069 GB, free: 260 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/2.096, allocations: 157 kB / 1.069 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/2.097, allocations: 1.835 MB / 1.071 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/2.097, allocations: 42.5 kB / 1.071 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/2.097, allocations: 0 / 1.071 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003779/2.097, allocations: 145.9 kB / 1.071 GB, free: 257.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/2.098, allocations: 51.41 kB / 1.071 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/2.098, allocations: 154.4 kB / 1.071 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/2.098, allocations: 33.7 kB / 1.071 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/2.098, allocations: 142.6 kB / 1.071 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/2.098, allocations: 47.3 kB / 1.071 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/2.098, allocations: 8 kB / 1.071 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/2.098, allocations: 330.8 kB / 1.071 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/2.098, allocations: 35.97 kB / 1.071 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/2.098, allocations: 137.7 kB / 1.072 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/2.098, allocations: 60.91 kB / 1.072 GB, free: 256.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/2.098, allocations: 0 / 1.072 GB, free: 256.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002727/2.099, allocations: 210.1 kB / 1.072 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/2.099, allocations: 13.25 kB / 1.072 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/2.099, allocations: 7.938 kB / 1.072 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/2.099, allocations: 7.953 kB / 1.072 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/2.099, allocations: 55.91 kB / 1.072 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/2.099, allocations: 11.94 kB / 1.072 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/2.099, allocations: 30.66 kB / 1.072 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/2.099, allocations: 16 kB / 1.072 GB, free: 256.3 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 0.0001118/2.099, allocations: 129.8 kB / 1.072 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/2.099, allocations: 19.8 kB / 1.072 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/2.099, allocations: 157 kB / 1.072 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/2.099, allocations: 3.984 kB / 1.072 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/2.099, allocations: 3.953 kB / 1.072 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/2.099, allocations: 0 / 1.072 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/2.1, allocations: 216.9 kB / 1.072 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/2.1, allocations: 0 / 1.072 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/2.1, allocations: 31.92 kB / 1.073 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/2.1, allocations: 0 / 1.073 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/2.1, allocations: 12 kB / 1.073 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/2.1, allocations: 0 / 1.073 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/2.1, allocations: 0 / 1.073 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/2.1, allocations: 219.2 kB / 1.073 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/2.1, allocations: 120.8 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/2.1, allocations: 4 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/2.1, allocations: 23.98 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/2.1, allocations: 7.984 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/2.1, allocations: 11.98 kB / 1.073 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.364e-05/2.1, allocations: 119.9 kB / 1.073 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.101, allocations: 3.938 kB / 1.073 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005254/2.101, allocations: 87.92 kB / 1.073 GB, free: 255 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.0007298/2.102, allocations: 0.8719 MB / 1.074 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000275/2.102, allocations: 112.7 kB / 1.074 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.102, allocations: 4 kB / 1.074 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/2.102, allocations: 45.69 kB / 1.074 GB, free: 254 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/2.103, allocations: 55.88 kB / 1.074 GB, free: 254 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/2.105, allocations: 3.281 MB / 1.077 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/2.105, allocations: 0.7172 MB / 1.078 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001913/2.105, allocations: 41.73 kB / 1.078 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/2.106, allocations: 43.42 kB / 1.078 GB, free: 249.7 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/2.106, allocations: 0 / 1.078 GB, free: 249.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/2.128, allocations: 5.335 MB / 1.083 GB, free: 244.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/2.128, allocations: 171 kB / 1.084 GB, free: 244.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/3.968, allocations: 3.938 kB / 1.084 GB, free: 244.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)