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: translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5279/0.5279, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.558/1.558, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 100.3 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 11.98 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 72.31 MB / 0.5688 GB, free: 1.961 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/4.884, allocations: 1.698 GB / 2.267 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/4.884, allocations: 68.09 kB / 2.267 GB, free: 155 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05909/4.943, allocations: 29.76 MB / 2.296 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/4.943, allocations: 0 / 2.296 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.647e-06/4.943, allocations: 0 / 2.296 GB, free: 130.1 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.0005256/4.944, allocations: 387.2 kB / 2.296 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/4.944, allocations: 8.031 kB / 2.296 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/4.944, allocations: 43.38 kB / 2.296 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/4.944, allocations: 166.9 kB / 2.296 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/4.944, allocations: 4 kB / 2.296 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/4.944, allocations: 11.06 kB / 2.296 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/4.945, allocations: 75.36 kB / 2.296 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/4.945, allocations: 11.94 kB / 2.296 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/4.945, allocations: 0 / 2.296 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/4.945, allocations: 0 / 2.296 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/4.945, allocations: 42.64 kB / 2.296 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/4.945, allocations: 187.1 kB / 2.297 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/4.945, allocations: 83.39 kB / 2.297 GB, free: 129 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/4.945, allocations: 178.2 kB / 2.297 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/4.945, allocations: 37.25 kB / 2.297 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/4.945, allocations: 3.984 kB / 2.297 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.00134/4.947, allocations: 0.5569 MB / 2.297 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/4.947, allocations: 59.34 kB / 2.298 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/4.947, allocations: 85 kB / 2.298 GB, free: 128 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/4.947, allocations: 33.2 kB / 2.298 GB, free: 128 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/4.947, allocations: 84.45 kB / 2.298 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/4.947, allocations: 70.66 kB / 2.298 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/4.947, allocations: 3.5 kB / 2.298 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.402e-05/4.947, allocations: 322.9 kB / 2.298 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/4.947, allocations: 35.84 kB / 2.298 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/4.947, allocations: 68.84 kB / 2.298 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/4.947, allocations: 39.25 kB / 2.298 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/4.947, allocations: 0 / 2.298 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002405/4.948, allocations: 161.4 kB / 2.298 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/4.948, allocations: 4 kB / 2.298 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/4.948, allocations: 4 kB / 2.298 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/4.948, allocations: 7.953 kB / 2.298 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/4.948, allocations: 35.98 kB / 2.298 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/4.948, allocations: 0 / 2.298 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/4.948, allocations: 11.94 kB / 2.298 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/4.948, allocations: 4 kB / 2.298 GB, free: 127.2 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 () * Number of clocked 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 8.986e-05/4.948, allocations: 124.2 kB / 2.299 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/4.948, allocations: 4 kB / 2.299 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/4.948, allocations: 24.44 kB / 2.299 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/4.948, allocations: 3.953 kB / 2.299 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/4.948, allocations: 0 / 2.299 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/4.948, allocations: 0 / 2.299 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/4.948, allocations: 189.6 kB / 2.299 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/4.948, allocations: 0 / 2.299 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/4.948, allocations: 43.92 kB / 2.299 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/4.948, allocations: 7.922 kB / 2.299 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/4.949, allocations: 4 kB / 2.299 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/4.949, allocations: 0 / 2.299 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/4.949, allocations: 4.078 kB / 2.299 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/4.949, allocations: 216.8 kB / 2.299 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/4.949, allocations: 89.03 kB / 2.299 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/4.949, allocations: 4.062 kB / 2.299 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/4.949, allocations: 11.98 kB / 2.299 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/4.949, allocations: 15.94 kB / 2.299 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/4.949, allocations: 8 kB / 2.299 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.308e-05/4.949, allocations: 79.28 kB / 2.299 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/4.949, allocations: 0 / 2.299 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003752/4.95, allocations: 63.98 kB / 2.299 GB, free: 126.3 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 () * Number of clocked 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.0007543/4.95, allocations: 0.5512 MB / 2.3 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001922/4.951, allocations: 99.89 kB / 2.3 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/4.951, allocations: 0 / 2.3 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.154e-05/4.951, allocations: 62.09 kB / 2.3 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/4.951, allocations: 11.94 kB / 2.3 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008089/4.952, allocations: 0.605 MB / 2.301 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/4.952, allocations: 0.7088 MB / 2.301 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001367/4.952, allocations: 28.62 kB / 2.301 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/4.952, allocations: 15.44 kB / 2.301 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.292e-06/4.952, allocations: 0 / 2.301 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.01114/4.963, allocations: 8.122 MB / 2.309 GB, free: 116 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)