Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",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.001127/0.001127, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4689/0.4689, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008703/0.0008703, allocations: 96.73 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.268e-05, allocations: 0 / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3934, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.675/4.069, allocations: 1.698 GB / 2.258 GB, free: 83.62 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/4.069, allocations: 75.95 kB / 2.258 GB, free: 83.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05643/4.125, allocations: 29.72 MB / 2.287 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/4.125, allocations: 1.219 kB / 2.287 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/4.125, allocations: 0 / 2.287 GB, free: 53.61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003226/4.126, allocations: 386.2 kB / 2.287 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/4.126, allocations: 11.98 kB / 2.287 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/4.126, allocations: 34.56 kB / 2.288 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/4.126, allocations: 35.95 kB / 2.288 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/4.126, allocations: 163 kB / 2.288 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/4.126, allocations: 12 kB / 2.288 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/4.126, allocations: 11.91 kB / 2.288 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/4.127, allocations: 82.7 kB / 2.288 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/4.127, allocations: 0 / 2.288 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/4.127, allocations: 7.938 kB / 2.288 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/4.127, allocations: 0 / 2.288 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/4.127, allocations: 42.41 kB / 2.288 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/4.127, allocations: 185.6 kB / 2.288 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/4.127, allocations: 74.62 kB / 2.288 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/4.127, allocations: 40.88 kB / 2.288 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/4.127, allocations: 178.2 kB / 2.288 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/4.127, allocations: 38.52 kB / 2.288 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/4.127, allocations: 0 / 2.288 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001054/4.128, allocations: 0.5194 MB / 2.289 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/4.128, allocations: 55.41 kB / 2.289 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.816e-05/4.128, allocations: 85 kB / 2.289 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/4.128, allocations: 33.7 kB / 2.289 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.59e-05/4.128, allocations: 84.52 kB / 2.289 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/4.129, allocations: 71.12 kB / 2.289 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/4.129, allocations: 4 kB / 2.289 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/4.129, allocations: 318.8 kB / 2.289 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/4.129, allocations: 31.98 kB / 2.29 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/4.129, allocations: 67.36 kB / 2.29 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.441e-05/4.129, allocations: 39.98 kB / 2.29 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/4.129, allocations: 4 kB / 2.29 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001709/4.129, allocations: 153.5 kB / 2.29 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/4.129, allocations: 7.953 kB / 2.29 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/4.129, allocations: 4 kB / 2.29 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/4.129, allocations: 0 / 2.29 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/4.129, allocations: 39.92 kB / 2.29 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/4.129, allocations: 0 / 2.29 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/4.129, allocations: 8 kB / 2.29 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/4.129, allocations: 4.656 kB / 2.29 GB, free: 50.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 5.513e-05/4.129, allocations: 120.9 kB / 2.29 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/4.129, allocations: 11.91 kB / 2.29 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/4.129, allocations: 24.16 kB / 2.29 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/4.129, allocations: 4 kB / 2.29 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/4.129, allocations: 0 / 2.29 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/4.129, allocations: 128 / 2.29 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/4.13, allocations: 199.6 kB / 2.29 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/4.13, allocations: 0 / 2.29 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/4.13, allocations: 43.86 kB / 2.29 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/4.13, allocations: 0 / 2.29 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/4.13, allocations: 4 kB / 2.29 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/4.13, allocations: 11.95 kB / 2.29 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/4.13, allocations: 0 / 2.29 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/4.13, allocations: 202.3 kB / 2.29 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/4.13, allocations: 89 kB / 2.291 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/4.13, allocations: 4.062 kB / 2.291 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/4.13, allocations: 11.98 kB / 2.291 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/4.13, allocations: 15.94 kB / 2.291 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/4.13, allocations: 8 kB / 2.291 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.681e-05/4.13, allocations: 79.28 kB / 2.291 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.13, allocations: 0 / 2.291 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003149/4.131, allocations: 63.98 kB / 2.291 GB, free: 49.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008267/4.131, allocations: 1.184 MB / 2.292 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001654/4.132, allocations: 114.7 kB / 2.292 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/4.132, allocations: 0 / 2.292 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/4.132, allocations: 51.92 kB / 2.292 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/4.132, allocations: 11.27 kB / 2.292 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/4.132, allocations: 0.4971 MB / 2.293 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/4.133, allocations: 0.7128 MB / 2.293 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001192/4.133, allocations: 28.73 kB / 2.293 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/4.133, allocations: 21.12 kB / 2.293 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/4.133, allocations: 3.938 kB / 2.293 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/4.155, allocations: 12.84 MB / 2.306 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/4.155, allocations: 142.4 kB / 2.306 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/5.981, allocations: 0 / 2.306 GB, free: 33.87 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)