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.000839/0.000839, allocations: 92.94 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009401/0.0009401, allocations: 175.8 kB / 16.58 MB, free: 5.672 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.368/1.368, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7025/0.7025, allocations: 115.5 MB / 407.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.0002851, allocations: 8.219 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001191/0.1398, allocations: 1.035 MB / 0.5603 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4141/0.5539, allocations: 134.5 MB / 0.6916 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.5539, allocations: 0 / 0.6916 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.554, allocations: 4 kB / 0.6916 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.5541, allocations: 11.91 kB / 0.6917 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.5548, allocations: 221.9 kB / 0.6919 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.5549, allocations: 79.73 kB / 0.6919 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.5549, allocations: 1.125 kB / 0.6919 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.555, allocations: 31.91 kB / 0.692 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.5551, allocations: 31.89 kB / 0.692 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5551, allocations: 4 kB / 0.692 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005964/0.5557, allocations: 259.3 kB / 0.6923 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.5557, allocations: 11.98 kB / 0.6923 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.5558, allocations: 37.7 kB / 0.6923 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.556, allocations: 97.78 kB / 0.6924 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.556, allocations: 0 / 0.6924 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.556, allocations: 0 / 0.6924 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.556, allocations: 0 / 0.6924 GB, free: 15.09 MB / 0.5137 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.0003938/0.5564, allocations: 379.8 kB / 0.6928 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.5564, allocations: 15.97 kB / 0.6928 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/0.5568, allocations: 31.95 kB / 0.6928 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.557, allocations: 171 kB / 0.693 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.557, allocations: 4 kB / 0.693 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.557, allocations: 15.86 kB / 0.693 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.5572, allocations: 77.64 kB / 0.6931 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5572, allocations: 0 / 0.6931 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5572, allocations: 0 / 0.6931 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5572, allocations: 4 kB / 0.6931 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-05/0.5573, allocations: 51.89 kB / 0.6931 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.5575, allocations: 189.5 kB / 0.6933 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.5577, allocations: 86.69 kB / 0.6934 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.5578, allocations: 33.83 kB / 0.6934 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.558, allocations: 178.2 kB / 0.6936 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.558, allocations: 38.56 kB / 0.6936 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.558, allocations: 0 / 0.6936 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001229/0.5593, allocations: 0.5459 MB / 0.6942 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.5593, allocations: 55.41 kB / 0.6942 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.5594, allocations: 93.86 kB / 0.6943 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.5594, allocations: 33.7 kB / 0.6943 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.5594, allocations: 80.52 kB / 0.6944 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.5595, allocations: 67 kB / 0.6945 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.5595, allocations: 4 kB / 0.6945 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5596, allocations: 327 kB / 0.6948 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.5597, allocations: 31.98 kB / 0.6948 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.5598, allocations: 69.83 kB / 0.6949 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.5599, allocations: 51.92 kB / 0.6949 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5599, allocations: 4 kB / 0.6949 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002232/0.5601, allocations: 150.3 kB / 0.6951 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5601, allocations: 9.875 kB / 0.6951 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5601, allocations: 0 / 0.6951 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5602, allocations: 4 kB / 0.6951 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.5603, allocations: 50.47 kB / 0.6951 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5603, allocations: 4 kB / 0.6951 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.5604, allocations: 0 / 0.6951 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5604, allocations: 8 kB / 0.6952 GB, free: 11.97 MB / 0.5137 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 9.408e-05/0.5605, allocations: 129.7 kB / 0.6953 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.5605, allocations: 11.86 kB / 0.6953 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.5606, allocations: 16.44 kB / 0.6953 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5606, allocations: 8 kB / 0.6953 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5606, allocations: 0 / 0.6953 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5606, allocations: 3.984 kB / 0.6953 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.5608, allocations: 197.6 kB / 0.6955 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5608, allocations: 0 / 0.6955 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.561, allocations: 31.98 kB / 0.6955 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.561, allocations: 7.953 kB / 0.6955 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.561, allocations: 4 kB / 0.6955 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.561, allocations: 0 / 0.6955 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5611, allocations: 0 / 0.6955 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.5614, allocations: 212.9 kB / 0.6957 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.5614, allocations: 93 kB / 0.6958 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.5615, allocations: 8.016 kB / 0.6958 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5616, allocations: 7.938 kB / 0.6958 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.5616, allocations: 11.98 kB / 0.6959 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.5616, allocations: 4 kB / 0.6959 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.5617, allocations: 79.28 kB / 0.6959 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5617, allocations: 96 / 0.6959 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002304/0.5619, allocations: 32 kB / 0.696 GB, free: 11.04 MB / 0.5137 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.0001271/0.562, allocations: 111.2 kB / 0.6961 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.5622, allocations: 99.89 kB / 0.6962 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5622, allocations: 0 / 0.6962 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.5623, allocations: 53.94 kB / 0.6962 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.5626, allocations: 23.98 kB / 0.6962 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.5634, allocations: 0.6097 MB / 0.6968 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5636, allocations: 0.7011 MB / 0.6975 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.5638, allocations: 24.64 kB / 0.6976 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.5638, allocations: 15.44 kB / 0.6976 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.5638, allocations: 0 / 0.6976 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of Templates: time 0.003264/0.5671, allocations: 1.026 MB / 0.6986 GB, free: 8.324 MB / 0.5137 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)