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.001633/0.001633, allocations: 174.7 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.7659/0.7659, 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.67/1.67, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.0009848/0.0009849, allocations: 90.28 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.129e-05/5.132e-05, allocations: 2.312 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 82.3 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.395/1.594, allocations: 380.5 MB / 1.012 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.595, allocations: 63.97 kB / 1.012 GB, free: 242.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03892/1.633, allocations: 19.05 MB / 1.031 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/1.634, allocations: 0 / 1.031 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.634, allocations: 4 kB / 1.031 GB, free: 223.3 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.0003219/1.634, allocations: 371 kB / 1.031 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.634, allocations: 12.02 kB / 1.031 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/1.634, allocations: 34.56 kB / 1.031 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/1.634, allocations: 4 kB / 1.031 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.6e-05/1.634, allocations: 163 kB / 1.031 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/1.634, allocations: 8 kB / 1.031 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/1.634, allocations: 4 kB / 1.031 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/1.634, allocations: 53.67 kB / 1.031 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.634, allocations: 3.938 kB / 1.031 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.634, allocations: 0 / 1.031 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.634, allocations: 0 / 1.031 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.701e-05/1.634, allocations: 15.98 kB / 1.031 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/1.634, allocations: 169.6 kB / 1.032 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.556e-05/1.635, allocations: 54.55 kB / 1.032 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/1.635, allocations: 16.86 kB / 1.032 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/1.635, allocations: 0.6259 MB / 1.032 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/1.635, allocations: 38.56 kB / 1.032 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/1.635, allocations: 0 / 1.032 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004705/1.636, allocations: 294.2 kB / 1.033 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/1.636, allocations: 51.41 kB / 1.033 GB, free: 221 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.492e-05/1.636, allocations: 96.98 kB / 1.033 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/1.636, allocations: 25.7 kB / 1.033 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/1.636, allocations: 92.05 kB / 1.033 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/1.636, allocations: 27.56 kB / 1.033 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.636, allocations: 0 / 1.033 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/1.636, allocations: 322.8 kB / 1.033 GB, free: 220.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/1.636, allocations: 8 kB / 1.033 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/1.636, allocations: 53.19 kB / 1.033 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/1.636, allocations: 27.92 kB / 1.033 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/1.636, allocations: 3.938 kB / 1.033 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001115/1.636, allocations: 89.55 kB / 1.033 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.636, allocations: 8.938 kB / 1.033 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.636, allocations: 0 / 1.033 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.636, allocations: 12.08 kB / 1.033 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/1.636, allocations: 19.98 kB / 1.033 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.636, allocations: 3.938 kB / 1.033 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/1.636, allocations: 4 kB / 1.033 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.636, allocations: 4 kB / 1.033 GB, free: 220.2 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 4.475e-05/1.636, allocations: 105 kB / 1.033 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/1.636, allocations: 7.906 kB / 1.033 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/1.636, allocations: 8.094 kB / 1.033 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.636, allocations: 4 kB / 1.033 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.637, allocations: 7.953 kB / 1.033 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/1.637, allocations: 0 / 1.033 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/1.637, allocations: 177.7 kB / 1.034 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.637, allocations: 0 / 1.034 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/1.637, allocations: 15.98 kB / 1.034 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.637, allocations: 0 / 1.034 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/1.637, allocations: 0 / 1.034 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.637, allocations: 4 kB / 1.034 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.637, allocations: 3.938 kB / 1.034 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/1.637, allocations: 171.8 kB / 1.034 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/1.637, allocations: 89.05 kB / 1.034 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/1.637, allocations: 0 / 1.034 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/1.637, allocations: 4.094 kB / 1.034 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/1.637, allocations: 11.97 kB / 1.034 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.637, allocations: 4 kB / 1.034 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.746e-05/1.637, allocations: 87.17 kB / 1.034 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/1.637, allocations: 0 / 1.034 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002243/1.637, allocations: 16 kB / 1.034 GB, free: 219.4 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.0003775/1.638, allocations: 0.7439 MB / 1.035 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.715e-05/1.638, allocations: 47.91 kB / 1.035 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.638, allocations: 0 / 1.035 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/1.638, allocations: 19.94 kB / 1.035 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/1.638, allocations: 7.938 kB / 1.035 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/1.639, allocations: 319.3 kB / 1.035 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/1.639, allocations: 0.6848 MB / 1.036 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.843e-05/1.639, allocations: 11.98 kB / 1.036 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/1.639, allocations: 15.44 kB / 1.036 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/1.639, allocations: 0 / 1.036 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/1.652, allocations: 2.32 MB / 1.038 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.652, allocations: 164 kB / 1.038 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/3.186, allocations: 8.062 kB / 1.038 GB, free: 215 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)