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.001174/0.001174, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001166/0.001166, allocations: 191.9 kB / 17.34 MB, free: 5.754 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6689/0.6689, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.97 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 76.18 MB / 0.632 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002069/0.1354, allocations: 1.319 MB / 0.6333 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4581/0.5935, allocations: 148.1 MB / 0.778 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.5936, allocations: 0.5312 kB / 0.778 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.5937, allocations: 6.422 kB / 0.778 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.5938, allocations: 20.91 kB / 0.778 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009269/0.5948, allocations: 324.7 kB / 0.7783 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.5949, allocations: 67.05 kB / 0.7784 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.595, allocations: 6.656 kB / 0.7784 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.595, allocations: 28.67 kB / 0.7784 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.5951, allocations: 33.36 kB / 0.7784 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.5952, allocations: 7.031 kB / 0.7784 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.596, allocations: 405.6 kB / 0.7788 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.596, allocations: 16.52 kB / 0.7788 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.5961, allocations: 27.45 kB / 0.7789 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.5964, allocations: 163 kB / 0.779 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5964, allocations: 1.062 kB / 0.779 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5964, allocations: 4 kB / 0.779 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.5964, allocations: 0 / 0.779 GB, free: 14.2 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.0004328/0.5969, allocations: 393.4 kB / 0.7794 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.5969, allocations: 10.47 kB / 0.7794 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003826/0.5973, allocations: 31.16 kB / 0.7794 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.5974, allocations: 167.8 kB / 0.7796 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.5974, allocations: 10.19 kB / 0.7796 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.5975, allocations: 12.31 kB / 0.7796 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.5976, allocations: 83.22 kB / 0.7797 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5976, allocations: 0 / 0.7797 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5977, allocations: 4.656 kB / 0.7797 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5977, allocations: 1.562 kB / 0.7797 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.5978, allocations: 47.3 kB / 0.7797 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.598, allocations: 180.8 kB / 0.7799 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.5981, allocations: 101.2 kB / 0.78 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.5982, allocations: 31.09 kB / 0.78 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.5984, allocations: 176.4 kB / 0.7802 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.5985, allocations: 33.03 kB / 0.7802 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.5985, allocations: 0 / 0.7802 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001252/0.5997, allocations: 0.5452 MB / 0.7808 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.5998, allocations: 54.09 kB / 0.7808 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/0.5998, allocations: 101.9 kB / 0.7809 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.5999, allocations: 30.48 kB / 0.781 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.5999, allocations: 88.17 kB / 0.781 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.6, allocations: 71.06 kB / 0.7811 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.6, allocations: 39.02 kB / 0.7811 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6001, allocations: 325.3 kB / 0.7815 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.6002, allocations: 34.17 kB / 0.7815 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.6003, allocations: 73.09 kB / 0.7816 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.6004, allocations: 121.6 kB / 0.7817 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6004, allocations: 1.156 kB / 0.7817 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002027/0.6006, allocations: 156.2 kB / 0.7818 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.6006, allocations: 5.906 kB / 0.7818 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6007, allocations: 0 / 0.7818 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6007, allocations: 4.281 kB / 0.7818 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.6008, allocations: 41.02 kB / 0.7819 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.6008, allocations: 4.641 kB / 0.7819 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.6009, allocations: 9.75 kB / 0.7819 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.6009, allocations: 9.844 kB / 0.7819 GB, free: 12.07 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 8.366e-05/0.601, allocations: 128.5 kB / 0.782 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.601, allocations: 4.312 kB / 0.782 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.6011, allocations: 17.55 kB / 0.782 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6011, allocations: 6.344 kB / 0.782 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6011, allocations: 0 / 0.782 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6011, allocations: 3.938 kB / 0.782 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.6013, allocations: 192.7 kB / 0.7822 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.6013, allocations: 0 / 0.7822 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.6015, allocations: 44.27 kB / 0.7823 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.6015, allocations: 1.375 kB / 0.7823 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6015, allocations: 5.312 kB / 0.7823 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6015, allocations: 0 / 0.7823 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.6015, allocations: 1.219 kB / 0.7823 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.6018, allocations: 217.4 kB / 0.7825 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.6019, allocations: 87.61 kB / 0.7826 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.6019, allocations: 5.812 kB / 0.7826 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.602, allocations: 12.73 kB / 0.7826 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.6021, allocations: 9.484 kB / 0.7826 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.6021, allocations: 11.41 kB / 0.7826 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.6021, allocations: 79.33 kB / 0.7827 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6021, allocations: 0 / 0.7827 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002091/0.6023, allocations: 31.45 kB / 0.7827 GB, free: 11.48 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.0001228/0.6025, allocations: 112 kB / 0.7828 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.6027, allocations: 105.2 kB / 0.7829 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6027, allocations: 0 / 0.7829 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.6027, allocations: 51.84 kB / 0.783 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.603, allocations: 17.2 kB / 0.783 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.6038, allocations: 0.5156 MB / 0.7835 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.604, allocations: 0.7039 MB / 0.7842 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.534e-05/0.6041, allocations: 19.36 kB / 0.7842 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.6042, allocations: 20.38 kB / 0.7842 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.6042, allocations: 0 / 0.7842 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.003248/0.6074, allocations: 1.122 MB / 0.7853 GB, free: 10.19 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)