Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_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.01006/0.01006, allocations: 171.2 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.8315/0.8315, 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 2.011/2.011, allocations: 223.2 MB / 406.9 MB, free: 3.234 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.001067/0.001067, allocations: 101.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004469, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6006/0.6011, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9487/1.55, allocations: 380.5 MB / 1.021 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.55, allocations: 72.52 kB / 1.021 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04601/1.596, allocations: 19.11 MB / 1.04 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.484e-06/1.596, allocations: 0 / 1.04 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.596, allocations: 0 / 1.04 GB, free: 10.16 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.0005495/1.597, allocations: 374.4 kB / 1.04 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.597, allocations: 8.031 kB / 1.04 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/1.597, allocations: 38.55 kB / 1.04 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/1.597, allocations: 7.938 kB / 1.04 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/1.597, allocations: 167 kB / 1.04 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.597, allocations: 3.75 kB / 1.04 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/1.597, allocations: 4 kB / 1.04 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.597, allocations: 52.86 kB / 1.04 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.597, allocations: 0 / 1.04 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.597, allocations: 0 / 1.04 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.597, allocations: 4 kB / 1.041 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/1.598, allocations: 19.61 kB / 1.041 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/1.598, allocations: 176.4 kB / 1.041 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/1.598, allocations: 45.88 kB / 1.041 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008598/1.599, allocations: 0.597 MB / 1.041 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/1.599, allocations: 34 kB / 1.041 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/1.599, allocations: 3.938 kB / 1.041 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006673/1.6, allocations: 303.7 kB / 1.042 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.6, allocations: 55.03 kB / 1.042 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/1.6, allocations: 92.98 kB / 1.042 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/1.6, allocations: 33.39 kB / 1.042 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/1.6, allocations: 84.05 kB / 1.042 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.6, allocations: 31.38 kB / 1.042 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/1.6, allocations: 4 kB / 1.042 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.6, allocations: 318.4 kB / 1.042 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/1.6, allocations: 11.75 kB / 1.042 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/1.6, allocations: 52.08 kB / 1.042 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/1.6, allocations: 27.69 kB / 1.042 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.6, allocations: 0 / 1.042 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001335/1.6, allocations: 96.14 kB / 1.042 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.6, allocations: 4 kB / 1.042 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.6, allocations: 7.984 kB / 1.042 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.6, allocations: 3.938 kB / 1.042 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/1.6, allocations: 19.95 kB / 1.042 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.6, allocations: 4 kB / 1.042 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/1.601, allocations: 7.25 kB / 1.042 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/1.601, allocations: 4 kB / 1.042 GB, free: 7.23 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 () * Number of clocked 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 8.784e-05/1.601, allocations: 121.5 kB / 1.043 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/1.601, allocations: 7.906 kB / 1.043 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/1.601, allocations: 7.469 kB / 1.043 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.601, allocations: 0 / 1.043 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.601, allocations: 3.953 kB / 1.043 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.601, allocations: 0 / 1.043 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/1.601, allocations: 172.3 kB / 1.043 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/1.601, allocations: 4 kB / 1.043 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/1.601, allocations: 16 kB / 1.043 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.601, allocations: 3.984 kB / 1.043 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/1.601, allocations: 0 / 1.043 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.601, allocations: 0 / 1.043 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/1.601, allocations: 0 / 1.043 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/1.601, allocations: 177.4 kB / 1.043 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/1.601, allocations: 85.05 kB / 1.043 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/1.601, allocations: 4 kB / 1.043 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/1.602, allocations: 7.562 kB / 1.043 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/1.602, allocations: 7.984 kB / 1.043 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/1.602, allocations: 0 / 1.043 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.209e-05/1.602, allocations: 79.28 kB / 1.043 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.602, allocations: 0 / 1.043 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002573/1.602, allocations: 23.14 kB / 1.043 GB, free: 6.469 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 () * Number of clocked 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.0006686/1.603, allocations: 0.7532 MB / 1.044 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001263/1.603, allocations: 39.33 kB / 1.044 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.603, allocations: 3.938 kB / 1.044 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/1.603, allocations: 23.62 kB / 1.044 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/1.603, allocations: 11.92 kB / 1.044 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/1.604, allocations: 1.422 MB / 1.045 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/1.605, allocations: 0.6848 MB / 1.046 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.371e-05/1.605, allocations: 7.984 kB / 1.046 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/1.605, allocations: 14.94 kB / 1.046 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/1.605, allocations: 4 kB / 1.046 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/1.621, allocations: 2.198 MB / 1.048 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.621, allocations: 178.9 kB / 1.048 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/3.293, allocations: 3.938 kB / 1.048 GB, free: 1.129 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)