Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.6 MB / 307.5 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 184.1 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000953/0.0009529, allocations: 87.25 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.000444, allocations: 12 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3163, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.693/2.009, allocations: 408.1 MB / 1.387 GB, free: 284.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/2.009, allocations: 67.33 kB / 1.387 GB, free: 284.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.04296/2.052, allocations: 18.76 MB / 1.405 GB, free: 281.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.995e-06/2.052, allocations: 0 / 1.405 GB, free: 281.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.843e-06/2.052, allocations: 0 / 1.405 GB, free: 281.9 MB / 0.9323 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.0004775/2.053, allocations: 364.3 kB / 1.406 GB, free: 281.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/2.053, allocations: 13.14 kB / 1.406 GB, free: 281.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/2.053, allocations: 40.11 kB / 1.406 GB, free: 281.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/2.053, allocations: 9.562 kB / 1.406 GB, free: 281.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/2.053, allocations: 163.1 kB / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/2.053, allocations: 3.25 kB / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/2.053, allocations: 9.781 kB / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/2.053, allocations: 60.12 kB / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/2.053, allocations: 0 / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/2.053, allocations: 0.625 kB / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/2.053, allocations: 3.469 kB / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.557e-05/2.053, allocations: 18.81 kB / 1.406 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/2.054, allocations: 164.9 kB / 1.406 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.878e-05/2.054, allocations: 51.31 kB / 1.406 GB, free: 281 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/2.054, allocations: 0.6019 MB / 1.407 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/2.054, allocations: 31.19 kB / 1.407 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/2.054, allocations: 0 / 1.407 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0006384/2.055, allocations: 306.8 kB / 1.407 GB, free: 280.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/2.055, allocations: 55.36 kB / 1.407 GB, free: 280 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/2.055, allocations: 98.3 kB / 1.407 GB, free: 280 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/2.055, allocations: 25.7 kB / 1.407 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/2.055, allocations: 87.11 kB / 1.407 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/2.055, allocations: 29.47 kB / 1.407 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/2.055, allocations: 2.625 kB / 1.407 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/2.055, allocations: 318 kB / 1.408 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/2.055, allocations: 12.52 kB / 1.408 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/2.055, allocations: 54.73 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/2.056, allocations: 17.88 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/2.056, allocations: 6.875 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001317/2.056, allocations: 92.64 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/2.056, allocations: 5.969 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/2.056, allocations: 4.562 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/2.056, allocations: 3.297 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/2.056, allocations: 27.34 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/2.056, allocations: 6.891 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/2.056, allocations: 5.969 kB / 1.408 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/2.056, allocations: 7.156 kB / 1.408 GB, free: 279.4 MB / 0.9323 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.717e-05/2.056, allocations: 115.5 kB / 1.408 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/2.056, allocations: 3.062 kB / 1.408 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/2.056, allocations: 10.59 kB / 1.408 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/2.056, allocations: 0 / 1.408 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/2.056, allocations: 3.312 kB / 1.408 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/2.056, allocations: 6.906 kB / 1.408 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/2.056, allocations: 167.2 kB / 1.408 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/2.056, allocations: 0 / 1.408 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/2.057, allocations: 23.02 kB / 1.408 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/2.057, allocations: 7.125 kB / 1.408 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/2.057, allocations: 0 / 1.408 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/2.057, allocations: 0 / 1.408 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/2.057, allocations: 0 / 1.408 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/2.057, allocations: 176 kB / 1.408 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/2.057, allocations: 87.83 kB / 1.408 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/2.057, allocations: 3.25 kB / 1.408 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/2.057, allocations: 4.938 kB / 1.408 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/2.057, allocations: 9.953 kB / 1.408 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/2.057, allocations: 3.094 kB / 1.409 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.947e-05/2.057, allocations: 75.28 kB / 1.409 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.1e-08/2.057, allocations: 0 / 1.409 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002748/2.057, allocations: 15.91 kB / 1.409 GB, free: 278.8 MB / 0.9323 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.0005338/2.058, allocations: 0.7512 MB / 1.409 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001283/2.058, allocations: 42.34 kB / 1.409 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/2.058, allocations: 0 / 1.409 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/2.058, allocations: 17.31 kB / 1.409 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/2.058, allocations: 13.78 kB / 1.409 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/2.06, allocations: 1.435 MB / 1.411 GB, free: 276.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/2.06, allocations: 0.6882 MB / 1.411 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.708e-05/2.06, allocations: 11.09 kB / 1.411 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/2.06, allocations: 17.44 kB / 1.411 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of SimCode: time 3.2e-07/2.06, allocations: 0 / 1.411 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/2.076, allocations: 2.194 MB / 1.414 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/2.077, allocations: 186.2 kB / 1.414 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.92, allocations: 3.375 kB / 1.414 GB, free: 275.6 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)