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.001487/0.001487, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7784/0.7784, allocations: 133.6 MB / 141.6 MB, free: 2.949 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.0009409/0.000941, allocations: 95.16 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.087e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5546, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9282/1.483, allocations: 379.8 MB / 1.005 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.483, allocations: 71.78 kB / 1.005 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04183/1.525, allocations: 18.95 MB / 1.023 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.874e-06/1.525, allocations: 0 / 1.023 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.525, allocations: 0 / 1.023 GB, free: 6.379 MB / 0.6511 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.0004293/1.525, allocations: 373.7 kB / 1.024 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.526, allocations: 12.03 kB / 1.024 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/1.526, allocations: 0 / 1.024 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/1.526, allocations: 175 kB / 1.024 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/1.526, allocations: 0 / 1.024 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/1.526, allocations: 7.984 kB / 1.024 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.69e-05/1.526, allocations: 11.31 kB / 1.024 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/1.526, allocations: 57.09 kB / 1.024 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.526, allocations: 0 / 1.024 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/1.526, allocations: 0 / 1.024 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.526, allocations: 4 kB / 1.024 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/1.526, allocations: 137.9 kB / 1.024 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/1.526, allocations: 50.31 kB / 1.024 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/1.526, allocations: 12.86 kB / 1.024 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/1.527, allocations: 0.6162 MB / 1.025 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.527, allocations: 34.56 kB / 1.025 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.527, allocations: 7.938 kB / 1.025 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005259/1.528, allocations: 264.4 kB / 1.025 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.528, allocations: 59.3 kB / 1.025 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/1.528, allocations: 96.55 kB / 1.025 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/1.528, allocations: 25.7 kB / 1.025 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/1.528, allocations: 88.05 kB / 1.025 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/1.528, allocations: 27.12 kB / 1.025 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/1.528, allocations: 4 kB / 1.025 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.528, allocations: 318.1 kB / 1.026 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/1.528, allocations: 8 kB / 1.026 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/1.528, allocations: 44.47 kB / 1.026 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/1.528, allocations: 23.36 kB / 1.026 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/1.528, allocations: 0 / 1.026 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001206/1.528, allocations: 80.55 kB / 1.026 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.528, allocations: 7.938 kB / 1.026 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.528, allocations: 4 kB / 1.026 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.528, allocations: 3.938 kB / 1.026 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/1.528, allocations: 16 kB / 1.026 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.529, allocations: 11.92 kB / 1.026 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/1.529, allocations: 8.328 kB / 1.026 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/1.529, allocations: 7.938 kB / 1.026 GB, free: 3.531 MB / 0.6511 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 8.569e-05/1.529, allocations: 105 kB / 1.026 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.344e-05/1.529, allocations: 57.16 kB / 1.026 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.529, allocations: 7.938 kB / 1.026 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/1.529, allocations: 7.906 kB / 1.026 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.529, allocations: 3.953 kB / 1.026 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.529, allocations: 0 / 1.026 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.529, allocations: 0 / 1.026 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/1.529, allocations: 157.8 kB / 1.026 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.529, allocations: 0 / 1.026 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/1.529, allocations: 12 kB / 1.026 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.529, allocations: 4.281 kB / 1.026 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.529, allocations: 3.984 kB / 1.026 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.529, allocations: 0 / 1.026 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.529, allocations: 0 / 1.026 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/1.529, allocations: 170.7 kB / 1.026 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/1.529, allocations: 88.52 kB / 1.026 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/1.53, allocations: 4 kB / 1.026 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/1.53, allocations: 3.938 kB / 1.026 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/1.53, allocations: 4 kB / 1.026 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/1.53, allocations: 0 / 1.026 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.475e-05/1.53, allocations: 83.27 kB / 1.027 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.53, allocations: 0 / 1.027 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002424/1.53, allocations: 19.7 kB / 1.027 GB, free: 2.758 MB / 0.6511 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.0005621/1.531, allocations: 0.7346 MB / 1.027 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001006/1.531, allocations: 34.81 kB / 1.027 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.531, allocations: 256 / 1.027 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/1.531, allocations: 27.48 kB / 1.027 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/1.531, allocations: 3.984 kB / 1.027 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/1.532, allocations: 305.9 kB / 1.028 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/1.532, allocations: 0.6885 MB / 1.028 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.411e-05/1.532, allocations: 15.97 kB / 1.028 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/1.532, allocations: 14.94 kB / 1.028 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.532, allocations: 0 / 1.028 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/1.553, allocations: 1.49 MB / 1.03 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.554, allocations: 140.7 kB / 1.03 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/3.432, allocations: 0 / 1.03 GB, free: 15.21 MB / 0.6667 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)