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.01193/0.01193, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9603/0.9603, allocations: 135.2 MB / 151 MB, free: 13.83 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.862/1.862, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.001097/0.001097, allocations: 90.03 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5752, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.982/1.557, allocations: 380.5 MB / 1.021 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.558, allocations: 71.7 kB / 1.021 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04509/1.603, allocations: 19.1 MB / 1.04 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.727e-06/1.603, allocations: 4 kB / 1.04 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.603, allocations: 0 / 1.04 GB, free: 10.17 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.0004875/1.603, allocations: 378.7 kB / 1.04 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.603, allocations: 8.031 kB / 1.04 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/1.603, allocations: 42.38 kB / 1.04 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/1.603, allocations: 7.922 kB / 1.04 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.604, allocations: 163 kB / 1.04 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/1.604, allocations: 4 kB / 1.04 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/1.604, allocations: 7.75 kB / 1.04 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/1.604, allocations: 48.92 kB / 1.04 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/1.604, allocations: 4 kB / 1.041 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.604, allocations: 7.5 kB / 1.041 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.604, allocations: 0 / 1.041 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/1.604, allocations: 19.92 kB / 1.041 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/1.604, allocations: 172.3 kB / 1.041 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/1.604, allocations: 45.88 kB / 1.041 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008214/1.605, allocations: 0.6048 MB / 1.041 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.605, allocations: 38.5 kB / 1.041 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/1.605, allocations: 0 / 1.041 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006585/1.606, allocations: 295.3 kB / 1.042 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.606, allocations: 51.41 kB / 1.042 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/1.606, allocations: 93 kB / 1.042 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.606, allocations: 29.08 kB / 1.042 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/1.606, allocations: 92.03 kB / 1.042 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/1.606, allocations: 23.31 kB / 1.042 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/1.606, allocations: 7.25 kB / 1.042 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.606, allocations: 314.8 kB / 1.042 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/1.606, allocations: 11.69 kB / 1.042 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/1.606, allocations: 56.33 kB / 1.042 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.061e-05/1.606, allocations: 23.38 kB / 1.042 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/1.606, allocations: 0 / 1.042 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000145/1.606, allocations: 92.17 kB / 1.042 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.607, allocations: 4.125 kB / 1.042 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.607, allocations: 4 kB / 1.042 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.607, allocations: 4 kB / 1.042 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/1.607, allocations: 27.69 kB / 1.042 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.607, allocations: 4 kB / 1.042 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/1.607, allocations: 0 / 1.042 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/1.607, allocations: 4 kB / 1.042 GB, free: 7.246 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 9.265e-05/1.607, allocations: 117.1 kB / 1.043 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/1.607, allocations: 3.906 kB / 1.043 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/1.607, allocations: 23.27 kB / 1.043 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.607, allocations: 0 / 1.043 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.607, allocations: 3.953 kB / 1.043 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.607, allocations: 448 / 1.043 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/1.607, allocations: 172.9 kB / 1.043 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.607, allocations: 0 / 1.043 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/1.607, allocations: 20 kB / 1.043 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/1.607, allocations: 0 / 1.043 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/1.607, allocations: 3.75 kB / 1.043 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.607, allocations: 3.984 kB / 1.043 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.607, allocations: 0 / 1.043 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/1.608, allocations: 173.5 kB / 1.043 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/1.608, allocations: 89.05 kB / 1.043 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/1.608, allocations: 3.625 kB / 1.043 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.608, allocations: 4 kB / 1.043 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/1.608, allocations: 3.984 kB / 1.043 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/1.608, allocations: 4 kB / 1.043 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.191e-05/1.608, allocations: 83.22 kB / 1.043 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.608, allocations: 4 kB / 1.043 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002832/1.608, allocations: 19.52 kB / 1.043 GB, free: 6.473 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.0006602/1.609, allocations: 0.7543 MB / 1.044 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001317/1.609, allocations: 43.09 kB / 1.044 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.609, allocations: 3.938 kB / 1.044 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/1.609, allocations: 19.75 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.0001702/1.609, allocations: 9.078 kB / 1.044 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/1.611, allocations: 1.424 MB / 1.045 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.611, allocations: 0.6848 MB / 1.046 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.534e-05/1.611, allocations: 8.078 kB / 1.046 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/1.611, allocations: 23.3 kB / 1.046 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/1.611, allocations: 0 / 1.046 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/1.625, allocations: 2.186 MB / 1.048 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.625, allocations: 168.7 kB / 1.048 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/3.409, allocations: 7.875 kB / 1.048 GB, free: 1.137 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)