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.0007902/0.0007901, allocations: 89.84 kB / 16.67 MB, free: 6.594 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.001006/0.001006, allocations: 187.9 kB / 17.58 MB, free: 6.188 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.438/1.438, allocations: 223.3 MB / 241.6 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7399/0.7399, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003377, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.403, allocations: 77.52 MB / 0.5606 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001243/0.4043, allocations: 1.054 MB / 0.5616 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1584/0.5627, allocations: 144.2 MB / 0.7025 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.5628, allocations: 0 / 0.7025 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.5629, allocations: 11.86 kB / 0.7025 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.563, allocations: 11.94 kB / 0.7025 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5641, allocations: 296.8 kB / 0.7028 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.5643, allocations: 79.8 kB / 0.7028 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.5643, allocations: 12 kB / 0.7029 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.5644, allocations: 31.91 kB / 0.7029 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.5645, allocations: 39.83 kB / 0.7029 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.5645, allocations: 4 kB / 0.7029 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009336/0.5654, allocations: 490.7 kB / 0.7034 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.5655, allocations: 15.98 kB / 0.7034 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.5656, allocations: 57.48 kB / 0.7035 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.5658, allocations: 113.8 kB / 0.7036 GB, free: 444 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5658, allocations: 0 / 0.7036 GB, free: 444 kB / 0.5294 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5659, allocations: 3.938 kB / 0.7036 GB, free: 440 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5659, allocations: 4 kB / 0.7036 GB, free: 436 kB / 0.5294 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.0004445/0.5663, allocations: 373.1 kB / 0.7039 GB, free: 16 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5664, allocations: 11.97 kB / 0.704 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004415/0.5668, allocations: 40.89 kB / 0.704 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.5669, allocations: 160.4 kB / 0.7041 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.567, allocations: 11.88 kB / 0.7042 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.567, allocations: 11.91 kB / 0.7042 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5672, allocations: 81.64 kB / 0.7042 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5672, allocations: 0 / 0.7042 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.5672, allocations: 8 kB / 0.7043 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5672, allocations: 0 / 0.7043 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.5673, allocations: 47.89 kB / 0.7043 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.5676, allocations: 181.5 kB / 0.7045 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.5678, allocations: 102.6 kB / 0.7046 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.5678, allocations: 28.84 kB / 0.7046 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.5681, allocations: 174.2 kB / 0.7048 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.5681, allocations: 34.56 kB / 0.7048 GB, free: 14.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.5681, allocations: 0 / 0.7048 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.00132/0.5694, allocations: 0.5507 MB / 0.7053 GB, free: 14.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5695, allocations: 51.41 kB / 0.7054 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.5696, allocations: 97.8 kB / 0.7055 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5696, allocations: 29.7 kB / 0.7055 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.5696, allocations: 84.64 kB / 0.7056 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.5697, allocations: 74.98 kB / 0.7057 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.5698, allocations: 25.7 kB / 0.7057 GB, free: 13.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5699, allocations: 318.8 kB / 0.706 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.57, allocations: 39.97 kB / 0.706 GB, free: 13.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.57, allocations: 72.2 kB / 0.7061 GB, free: 13.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.5702, allocations: 111.4 kB / 0.7062 GB, free: 13.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5702, allocations: 0 / 0.7062 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002364/0.5705, allocations: 161.5 kB / 0.7064 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5705, allocations: 8 kB / 0.7064 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5705, allocations: 128 / 0.7064 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5705, allocations: 8 kB / 0.7064 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.5707, allocations: 35.92 kB / 0.7064 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5707, allocations: 4 kB / 0.7064 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.5708, allocations: 11.88 kB / 0.7064 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.5708, allocations: 8 kB / 0.7064 GB, free: 13.19 MB / 0.545 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 9.595e-05/0.5709, allocations: 133.7 kB / 0.7066 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.5709, allocations: 7.906 kB / 0.7066 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.571, allocations: 16.44 kB / 0.7066 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.571, allocations: 4 kB / 0.7066 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.571, allocations: 0 / 0.7066 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.571, allocations: 3.938 kB / 0.7066 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.5712, allocations: 193.6 kB / 0.7068 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5712, allocations: 0 / 0.7068 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.5714, allocations: 39.92 kB / 0.7068 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5714, allocations: 4 kB / 0.7068 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5714, allocations: 4 kB / 0.7068 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.5714, allocations: 3.984 kB / 0.7068 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5714, allocations: 4 kB / 0.7068 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.5718, allocations: 202.6 kB / 0.707 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.5718, allocations: 89 kB / 0.7071 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.5719, allocations: 4.062 kB / 0.7071 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.572, allocations: 15.98 kB / 0.7071 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.572, allocations: 15.92 kB / 0.7071 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5721, allocations: 8 kB / 0.7071 GB, free: 12.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.5721, allocations: 75.28 kB / 0.7072 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.364e-06/0.5721, allocations: 0 / 0.7072 GB, free: 12.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000223/0.5723, allocations: 31.94 kB / 0.7072 GB, free: 12.26 MB / 0.545 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.0001333/0.5725, allocations: 99.25 kB / 0.7073 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.5727, allocations: 108 kB / 0.7074 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5727, allocations: 0 / 0.7074 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.5728, allocations: 52.94 kB / 0.7075 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.573, allocations: 16 kB / 0.7075 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.5739, allocations: 0.6624 MB / 0.7082 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.5743, allocations: 0.6972 MB / 0.7088 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.5743, allocations: 15.44 kB / 0.7088 GB, free: 10.55 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.5743, allocations: 0 / 0.7088 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Templates: time 0.003171/0.5775, allocations: 1.288 MB / 0.7101 GB, free: 9.258 MB / 0.545 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)