Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001221/0.001222, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7413/0.7413, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.628/1.628, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 93.84 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.975e-05/4.997e-05, allocations: 1.25 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1758, allocations: 82.3 MB / 0.6405 GB, free: 7.773 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.424/1.6, allocations: 380.5 MB / 1.012 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.6, allocations: 65.06 kB / 1.012 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0367/1.637, allocations: 19.04 MB / 1.031 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.483e-06/1.637, allocations: 7.906 kB / 1.031 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.637, allocations: 0 / 1.031 GB, free: 197.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003857/1.638, allocations: 379.2 kB / 1.031 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.638, allocations: 7.812 kB / 1.031 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/1.638, allocations: 34.47 kB / 1.031 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/1.638, allocations: 0 / 1.031 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.638, allocations: 170.9 kB / 1.031 GB, free: 197 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.638, allocations: 3.375 kB / 1.031 GB, free: 197 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/1.638, allocations: 7.906 kB / 1.031 GB, free: 197 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/1.638, allocations: 60.56 kB / 1.031 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.638, allocations: 0 / 1.031 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.638, allocations: 3.812 kB / 1.031 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/1.638, allocations: 0 / 1.031 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.685e-05/1.638, allocations: 19.2 kB / 1.031 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/1.638, allocations: 164.5 kB / 1.032 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/1.638, allocations: 49.56 kB / 1.032 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/1.639, allocations: 20.08 kB / 1.032 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/1.639, allocations: 0.6232 MB / 1.032 GB, free: 196 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/1.639, allocations: 30.56 kB / 1.032 GB, free: 196 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/1.639, allocations: 0 / 1.032 GB, free: 196 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0005206/1.64, allocations: 295.9 kB / 1.033 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/1.64, allocations: 55.34 kB / 1.033 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/1.64, allocations: 96.61 kB / 1.033 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/1.64, allocations: 29.61 kB / 1.033 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/1.64, allocations: 87.36 kB / 1.033 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/1.64, allocations: 27.41 kB / 1.033 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.64, allocations: 0 / 1.033 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/1.64, allocations: 322.8 kB / 1.033 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/1.64, allocations: 7.812 kB / 1.033 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/1.64, allocations: 59.78 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/1.64, allocations: 19.11 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.64, allocations: 7.844 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001154/1.64, allocations: 87.27 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.64, allocations: 7.906 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.64, allocations: 0 / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.64, allocations: 7.859 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/1.64, allocations: 23.17 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.64, allocations: 3.938 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/1.64, allocations: 8.188 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/1.64, allocations: 8.031 kB / 1.033 GB, free: 195 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * 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 5.04e-05/1.641, allocations: 108.7 kB / 1.033 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/1.641, allocations: 3.906 kB / 1.033 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/1.641, allocations: 11.52 kB / 1.033 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.641, allocations: 3.844 kB / 1.033 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.641, allocations: 3.953 kB / 1.033 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.641, allocations: 0 / 1.033 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/1.641, allocations: 176.5 kB / 1.034 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.641, allocations: 0 / 1.034 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/1.641, allocations: 23.55 kB / 1.034 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.641, allocations: 3.906 kB / 1.034 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/1.641, allocations: 3.5 kB / 1.034 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.641, allocations: 0 / 1.034 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.641, allocations: 0 / 1.034 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/1.641, allocations: 169.9 kB / 1.034 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/1.641, allocations: 84.92 kB / 1.034 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/1.641, allocations: 0 / 1.034 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/1.641, allocations: 4 kB / 1.034 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/1.641, allocations: 7.891 kB / 1.034 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/1.641, allocations: 7.719 kB / 1.034 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.992e-05/1.641, allocations: 79.23 kB / 1.034 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.641, allocations: 0 / 1.034 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002513/1.642, allocations: 19.41 kB / 1.034 GB, free: 194.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0004613/1.642, allocations: 0.7486 MB / 1.035 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001057/1.642, allocations: 38.34 kB / 1.035 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.642, allocations: 0 / 1.035 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/1.642, allocations: 19.44 kB / 1.035 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/1.642, allocations: 12.09 kB / 1.035 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/1.643, allocations: 329 kB / 1.035 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/1.643, allocations: 0.6886 MB / 1.036 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.735e-05/1.643, allocations: 3.906 kB / 1.036 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/1.643, allocations: 18.84 kB / 1.036 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/1.643, allocations: 0 / 1.036 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/1.657, allocations: 2.304 MB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/1.658, allocations: 156.4 kB / 1.038 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/3.152, allocations: 0.5 kB / 1.038 GB, free: 191.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)