Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00171/0.00171, allocations: 241.7 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7556/0.7556, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 1.781 kB / 462.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.294e-05, allocations: 6.094 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002025/0.002048, allocations: 1.414 MB / 463.7 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1292/0.1312, allocations: 143.4 MB / 0.5929 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.1313, allocations: 0 / 0.5929 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.1313, allocations: 3.938 kB / 0.5929 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.1314, allocations: 19.91 kB / 0.5929 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009027/0.1323, allocations: 326.3 kB / 0.5932 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1324, allocations: 71.73 kB / 0.5933 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.1325, allocations: 8 kB / 0.5933 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.1325, allocations: 43.89 kB / 0.5933 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.1326, allocations: 23.95 kB / 0.5933 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1327, allocations: 0 / 0.5933 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000902/0.1336, allocations: 390.5 kB / 0.5937 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.1336, allocations: 11.98 kB / 0.5937 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.1336, allocations: 23.97 kB / 0.5937 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1339, allocations: 167.5 kB / 0.5939 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1339, allocations: 4 kB / 0.5939 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1339, allocations: 4 kB / 0.5939 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1339, allocations: 3.938 kB / 0.5939 GB, free: 0.5586 MB / 0.5417 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.000302/0.1342, allocations: 290.7 kB / 0.5942 GB, free: 264 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1342, allocations: 12.75 kB / 0.5942 GB, free: 252 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.1345, allocations: 60.64 kB / 0.5943 GB, free: 192 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.696e-05/0.1346, allocations: 109.8 kB / 0.5944 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1346, allocations: 8.375 kB / 0.5944 GB, free: 48 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.1346, allocations: 16.66 kB / 0.5944 GB, free: 32 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1348, allocations: 200.9 kB / 0.5946 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1348, allocations: 4 kB / 0.5946 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1348, allocations: 0 / 0.5946 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1348, allocations: 0 / 0.5946 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.1349, allocations: 36.5 kB / 0.5946 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.135, allocations: 82.64 kB / 0.5947 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1351, allocations: 73.34 kB / 0.5948 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.1351, allocations: 12.86 kB / 0.5948 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.1352, allocations: 27.97 kB / 0.5948 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1352, allocations: 38.56 kB / 0.5948 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.1352, allocations: 3.703 kB / 0.5948 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0009158/0.1361, allocations: 0.4951 MB / 0.5953 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.1362, allocations: 55.34 kB / 0.5954 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.1362, allocations: 102.7 kB / 0.5955 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1362, allocations: 33.7 kB / 0.5955 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.1362, allocations: 80.52 kB / 0.5956 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1363, allocations: 67.38 kB / 0.5957 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1363, allocations: 45.67 kB / 0.5957 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.1364, allocations: 322.8 kB / 0.596 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.1364, allocations: 16.12 kB / 0.596 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.1365, allocations: 49.84 kB / 0.5961 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.1365, allocations: 84.33 kB / 0.5962 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1365, allocations: 0 / 0.5962 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001089/0.1367, allocations: 110.8 kB / 0.5963 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1367, allocations: 8 kB / 0.5963 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1367, allocations: 0 / 0.5963 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1367, allocations: 0 / 0.5963 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1368, allocations: 43.92 kB / 0.5963 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.1368, allocations: 0 / 0.5963 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.1368, allocations: 8 kB / 0.5963 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1368, allocations: 8 kB / 0.5963 GB, free: 13.88 MB / 0.5573 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 6.279e-05/0.1369, allocations: 128.5 kB / 0.5964 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.1369, allocations: 15.92 kB / 0.5965 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.1369, allocations: 16.47 kB / 0.5965 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1369, allocations: 0 / 0.5965 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1369, allocations: 4.5 kB / 0.5965 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1369, allocations: 3.938 kB / 0.5965 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.514e-05/0.137, allocations: 85.88 kB / 0.5966 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.137, allocations: 0 / 0.5966 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1371, allocations: 44.42 kB / 0.5966 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1371, allocations: 11.94 kB / 0.5966 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1371, allocations: 0 / 0.5966 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1371, allocations: 0.875 kB / 0.5966 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1371, allocations: 0 / 0.5966 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.1373, allocations: 153.5 kB / 0.5968 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.1373, allocations: 11.98 kB / 0.5968 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1373, allocations: 7.938 kB / 0.5968 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.1374, allocations: 4 kB / 0.5968 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.1374, allocations: 19.92 kB / 0.5968 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1374, allocations: 4.625 kB / 0.5968 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.007e-06/0.1374, allocations: 8.859 kB / 0.5968 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1374, allocations: 0 / 0.5968 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001288/0.1376, allocations: 35.94 kB / 0.5969 GB, free: 13.29 MB / 0.5573 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 9.502e-05/0.1376, allocations: 85.08 kB / 0.5969 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.783e-05/0.1377, allocations: 73.25 kB / 0.597 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1377, allocations: 0 / 0.597 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.1378, allocations: 44.78 kB / 0.597 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1379, allocations: 38.39 kB / 0.5971 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.1385, allocations: 333 kB / 0.5974 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.1385, allocations: 72.08 kB / 0.5975 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.804e-05/0.1386, allocations: 19.45 kB / 0.5975 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.1387, allocations: 83.36 kB / 0.5976 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.1387, allocations: 0 / 0.5976 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of Templates: time 0.00305/0.1417, allocations: 1.628 MB / 0.5992 GB, free: 10.95 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7120407866314054]