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.001783/0.001783, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001973/0.001973, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 178] 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.00332/0.00332, allocations: 242.3 kB / 259.8 MB, free: 12.59 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 1.167/1.167, allocations: 138.5 MB / 454.7 MB, free: 1.508 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 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.714e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002519/0.002547, allocations: 1.337 MB / 0.5556 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4615/0.464, allocations: 143.7 MB / 0.6959 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.4641, allocations: 3.938 kB / 0.6959 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/0.4641, allocations: 3.984 kB / 0.6959 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.4642, allocations: 21.48 kB / 0.6959 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008497/0.4651, allocations: 334.3 kB / 0.6962 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.4651, allocations: 67.7 kB / 0.6963 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.4652, allocations: 3.984 kB / 0.6963 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.4652, allocations: 43.94 kB / 0.6963 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.4653, allocations: 27.89 kB / 0.6964 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.4654, allocations: 4 kB / 0.6964 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006271/0.466, allocations: 378.5 kB / 0.6967 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.466, allocations: 19.91 kB / 0.6968 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.4661, allocations: 23.97 kB / 0.6968 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.4663, allocations: 171.5 kB / 0.6969 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.4664, allocations: 0 / 0.6969 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4664, allocations: 0 / 0.6969 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.4664, allocations: 0 / 0.6969 GB, free: 10.97 MB / 0.5105 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.0003886/0.4667, allocations: 418.7 kB / 0.6973 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.4668, allocations: 8.75 kB / 0.6974 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.4672, allocations: 60.61 kB / 0.6974 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.016e-05/0.4673, allocations: 116.5 kB / 0.6975 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4673, allocations: 12.31 kB / 0.6975 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.4673, allocations: 8.562 kB / 0.6975 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4675, allocations: 206.8 kB / 0.6977 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4675, allocations: 0 / 0.6977 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4675, allocations: 0 / 0.6977 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4675, allocations: 0 / 0.6977 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.4676, allocations: 43.95 kB / 0.6978 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.4677, allocations: 136.5 kB / 0.6979 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4679, allocations: 87.12 kB / 0.698 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.4679, allocations: 27.67 kB / 0.698 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.4681, allocations: 23.98 kB / 0.698 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.4681, allocations: 37.72 kB / 0.6981 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.4681, allocations: 4 kB / 0.6981 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001094/0.4692, allocations: 471.5 kB / 0.6985 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.4692, allocations: 51.41 kB / 0.6986 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.4693, allocations: 161.9 kB / 0.6987 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4693, allocations: 29.7 kB / 0.6988 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.896e-05/0.4693, allocations: 131.2 kB / 0.6989 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.4693, allocations: 71.38 kB / 0.699 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.4694, allocations: 47.38 kB / 0.699 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.4694, allocations: 0.4923 MB / 0.6995 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.4695, allocations: 31.92 kB / 0.6995 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.4696, allocations: 77.56 kB / 0.6996 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4697, allocations: 129.2 kB / 0.6997 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4697, allocations: 0 / 0.6997 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001887/0.4699, allocations: 148.1 kB / 0.6999 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4699, allocations: 8 kB / 0.6999 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4699, allocations: 0 / 0.6999 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4699, allocations: 0 / 0.6999 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.4701, allocations: 46.42 kB / 0.6999 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4701, allocations: 4 kB / 0.6999 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.4702, allocations: 4 kB / 0.6999 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4702, allocations: 8 kB / 0.6999 GB, free: 7.641 MB / 0.5105 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 7.894e-05/0.4702, allocations: 184.4 kB / 0.7001 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.4703, allocations: 11.95 kB / 0.7001 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.4703, allocations: 16.47 kB / 0.7001 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4703, allocations: 4 kB / 0.7001 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4703, allocations: 3.984 kB / 0.7001 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4703, allocations: 0 / 0.7001 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.098e-05/0.4704, allocations: 140.5 kB / 0.7003 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4704, allocations: 0 / 0.7003 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.4706, allocations: 35.98 kB / 0.7003 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4706, allocations: 0 / 0.7003 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4706, allocations: 8 kB / 0.7003 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4706, allocations: 4 kB / 0.7003 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4706, allocations: 3.938 kB / 0.7003 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.4709, allocations: 211.2 kB / 0.7005 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.4709, allocations: 15.44 kB / 0.7005 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4709, allocations: 4 kB / 0.7005 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.471, allocations: 4.875 kB / 0.7005 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.4711, allocations: 11.98 kB / 0.7006 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4711, allocations: 11.92 kB / 0.7006 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.271e-05/0.4711, allocations: 123.2 kB / 0.7007 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.4711, allocations: 96 / 0.7007 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002042/0.4713, allocations: 36 kB / 0.7007 GB, free: 6.77 MB / 0.5105 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.0001112/0.4714, allocations: 103.2 kB / 0.7008 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.4716, allocations: 111.6 kB / 0.7009 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4716, allocations: 0 / 0.7009 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/0.4717, allocations: 59.59 kB / 0.701 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4719, allocations: 43.17 kB / 0.701 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.4725, allocations: 405.9 kB / 0.7014 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.4726, allocations: 88.05 kB / 0.7015 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.283e-05/0.4727, allocations: 16.64 kB / 0.7015 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.4727, allocations: 16.5 kB / 0.7015 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.4727, allocations: 4 kB / 0.7015 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of Templates: time 0.004435/0.4771, allocations: 1.433 MB / 0.7029 GB, free: 4.523 MB / 0.5105 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.397138203959912]