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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 114.5 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 200.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7235/0.7235, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 61.47 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1819, allocations: 76.19 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002889/0.1848, allocations: 1.32 MB / 0.634 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5836/0.7684, allocations: 148.1 MB / 0.7786 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.7685, allocations: 0.5 kB / 0.7786 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.7685, allocations: 10.09 kB / 0.7786 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.7687, allocations: 13.48 kB / 0.7786 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.7698, allocations: 324.5 kB / 0.7789 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.7699, allocations: 69.11 kB / 0.779 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.77, allocations: 7.344 kB / 0.779 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.77, allocations: 34.77 kB / 0.779 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.7702, allocations: 33.94 kB / 0.7791 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.7702, allocations: 4.125 kB / 0.7791 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000952/0.7711, allocations: 407 kB / 0.7795 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.7712, allocations: 15.44 kB / 0.7795 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.7713, allocations: 30.14 kB / 0.7795 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.7717, allocations: 153.9 kB / 0.7797 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7717, allocations: 4 kB / 0.7797 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7717, allocations: 0 / 0.7797 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7717, allocations: 0 / 0.7797 GB, free: 14.65 MB / 0.5919 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.0005467/0.7722, allocations: 395.3 kB / 0.78 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.7723, allocations: 10.34 kB / 0.7801 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.7727, allocations: 34.5 kB / 0.7801 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.7729, allocations: 168.3 kB / 0.7802 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.7729, allocations: 10.19 kB / 0.7803 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.7729, allocations: 13.44 kB / 0.7803 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.7731, allocations: 80.56 kB / 0.7803 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7731, allocations: 0 / 0.7803 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.7732, allocations: 1.531 kB / 0.7803 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7732, allocations: 1.344 kB / 0.7803 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.7733, allocations: 47.47 kB / 0.7804 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.7735, allocations: 190.4 kB / 0.7806 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.7737, allocations: 101.2 kB / 0.7807 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.7738, allocations: 31.27 kB / 0.7807 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.774, allocations: 172.2 kB / 0.7809 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.7741, allocations: 37.22 kB / 0.7809 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.7741, allocations: 0 / 0.7809 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001381/0.7755, allocations: 0.5475 MB / 0.7814 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.7755, allocations: 56.91 kB / 0.7815 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.7756, allocations: 91.95 kB / 0.7816 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.7756, allocations: 35.36 kB / 0.7816 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.7757, allocations: 80.52 kB / 0.7817 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.7757, allocations: 79.59 kB / 0.7818 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.7758, allocations: 41.22 kB / 0.7818 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7759, allocations: 322.4 kB / 0.7821 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.776, allocations: 36.61 kB / 0.7821 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.7761, allocations: 75.25 kB / 0.7822 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.7763, allocations: 112.3 kB / 0.7823 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7763, allocations: 1.438 kB / 0.7823 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002412/0.7765, allocations: 155.9 kB / 0.7825 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7766, allocations: 7.5 kB / 0.7825 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7766, allocations: 5.031 kB / 0.7825 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7766, allocations: 4.812 kB / 0.7825 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.7768, allocations: 37.72 kB / 0.7825 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.7768, allocations: 5.172 kB / 0.7825 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.7769, allocations: 17.17 kB / 0.7825 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.7769, allocations: 4.5 kB / 0.7826 GB, free: 12.51 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.777, allocations: 125.6 kB / 0.7827 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.777, allocations: 4.75 kB / 0.7827 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.7771, allocations: 19.34 kB / 0.7827 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.7771, allocations: 8.625 kB / 0.7827 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7771, allocations: 0 / 0.7827 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.7771, allocations: 3.938 kB / 0.7827 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.7773, allocations: 189.5 kB / 0.7829 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7773, allocations: 4 kB / 0.7829 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.7775, allocations: 41.33 kB / 0.7829 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.7775, allocations: 2.266 kB / 0.7829 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.7775, allocations: 4.188 kB / 0.7829 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7775, allocations: 1.719 kB / 0.7829 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7775, allocations: 0.9688 kB / 0.7829 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.7778, allocations: 210.8 kB / 0.7831 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.7779, allocations: 90.7 kB / 0.7832 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.778, allocations: 9.688 kB / 0.7832 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7781, allocations: 6.5 kB / 0.7832 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.7781, allocations: 13.97 kB / 0.7833 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.7782, allocations: 12.34 kB / 0.7833 GB, free: 12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.7782, allocations: 79.91 kB / 0.7833 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7782, allocations: 1.094 kB / 0.7833 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000246/0.7785, allocations: 25.25 kB / 0.7834 GB, free: 11.93 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.7786, allocations: 110 kB / 0.7835 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.7788, allocations: 105.2 kB / 0.7836 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7788, allocations: 1.094 kB / 0.7836 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.7789, allocations: 54.31 kB / 0.7836 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.7792, allocations: 18.69 kB / 0.7836 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.7801, allocations: 0.5444 MB / 0.7842 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.7804, allocations: 0.6988 MB / 0.7849 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.7804, allocations: 16.38 kB / 0.7849 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7804, allocations: 1.203 kB / 0.7849 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.003413/0.7839, allocations: 1.306 MB / 0.7862 GB, free: 10.61 MB / 0.5919 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)