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.0009199/0.0009199, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001014/0.001014, allocations: 169.7 kB / 23.27 MB, free: 1.227 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 0.9691/0.9691, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001645/0.001645, allocations: 233.7 kB / 260.5 MB, free: 12.66 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.7286/0.7286, allocations: 138.4 MB / 455.5 MB, free: 30.01 MB / 410.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.014e-06/2.014e-06, allocations: 0 / 0.5555 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.871e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002236/0.002255, allocations: 1.385 MB / 0.5569 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3777/0.3799, allocations: 141.2 MB / 0.6948 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.38, allocations: 3.219 kB / 0.6948 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.38, allocations: 3.938 kB / 0.6948 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.3801, allocations: 13.97 kB / 0.6948 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.381, allocations: 341.9 kB / 0.6952 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.3811, allocations: 70.92 kB / 0.6952 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.3811, allocations: 2.875 kB / 0.6952 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.376e-05/0.3812, allocations: 41.05 kB / 0.6953 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.3813, allocations: 29.95 kB / 0.6953 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.3813, allocations: 2.812 kB / 0.6953 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006107/0.3819, allocations: 382.2 kB / 0.6957 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.3819, allocations: 17.44 kB / 0.6957 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.382, allocations: 29.67 kB / 0.6957 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3822, allocations: 167 kB / 0.6959 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3823, allocations: 0.625 kB / 0.6959 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3823, allocations: 0 / 0.6959 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.3823, allocations: 0 / 0.6959 GB, free: 52.34 MB / 0.5573 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.00032/0.3826, allocations: 413.7 kB / 0.6963 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3826, allocations: 12.47 kB / 0.6963 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.3829, allocations: 68.09 kB / 0.6963 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.172e-05/0.383, allocations: 110.8 kB / 0.6965 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.383, allocations: 5.656 kB / 0.6965 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.383, allocations: 12.5 kB / 0.6965 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3832, allocations: 197 kB / 0.6967 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3832, allocations: 3.938 kB / 0.6967 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3832, allocations: 5.562 kB / 0.6967 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3832, allocations: 1.5 kB / 0.6967 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.3832, allocations: 28.22 kB / 0.6967 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.3834, allocations: 120.1 kB / 0.6968 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3835, allocations: 85.69 kB / 0.6969 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.3835, allocations: 27.61 kB / 0.6969 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.3836, allocations: 20.73 kB / 0.6969 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.3837, allocations: 41.75 kB / 0.697 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.3837, allocations: 1 kB / 0.697 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0008617/0.3845, allocations: 436.1 kB / 0.6974 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.534e-05/0.3845, allocations: 53.56 kB / 0.6974 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.818e-05/0.3846, allocations: 157.9 kB / 0.6976 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.3846, allocations: 30.98 kB / 0.6976 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/0.3846, allocations: 127.2 kB / 0.6977 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.3846, allocations: 76.25 kB / 0.6978 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.3847, allocations: 44.02 kB / 0.6979 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.3847, allocations: 0.4893 MB / 0.6983 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.3848, allocations: 22.12 kB / 0.6984 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.3848, allocations: 63.77 kB / 0.6984 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.483e-05/0.3849, allocations: 93.47 kB / 0.6985 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3849, allocations: 0 / 0.6985 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001426/0.385, allocations: 133.8 kB / 0.6986 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.385, allocations: 6.031 kB / 0.6986 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3851, allocations: 5.25 kB / 0.6986 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3851, allocations: 1.594 kB / 0.6986 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3852, allocations: 40.47 kB / 0.6987 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3852, allocations: 5.438 kB / 0.6987 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.3852, allocations: 5 kB / 0.6987 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3852, allocations: 8.406 kB / 0.6987 GB, free: 50.08 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 5.36e-05/0.3853, allocations: 169.6 kB / 0.6989 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.3853, allocations: 19.7 kB / 0.6989 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.3853, allocations: 17.39 kB / 0.6989 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3853, allocations: 1.531 kB / 0.6989 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.3853, allocations: 0 / 0.6989 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3854, allocations: 3.797 kB / 0.6989 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.147e-05/0.3854, allocations: 117.4 kB / 0.699 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3854, allocations: 0 / 0.699 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.3856, allocations: 39.5 kB / 0.6991 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3856, allocations: 8.969 kB / 0.6991 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3856, allocations: 4.312 kB / 0.6991 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3856, allocations: 1.625 kB / 0.6991 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3856, allocations: 0 / 0.6991 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3858, allocations: 177.9 kB / 0.6992 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.3858, allocations: 15 kB / 0.6993 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3858, allocations: 8.906 kB / 0.6993 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.3859, allocations: 11.92 kB / 0.6993 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.3859, allocations: 10.81 kB / 0.6993 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3859, allocations: 6.625 kB / 0.6993 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.425e-05/0.3859, allocations: 125.4 kB / 0.6994 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.3859, allocations: 0 / 0.6994 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002049/0.3861, allocations: 27.78 kB / 0.6994 GB, free: 49.56 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.56e-05/0.3862, allocations: 109.4 kB / 0.6995 GB, free: 49.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.3863, allocations: 82.16 kB / 0.6996 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3863, allocations: 1.188 kB / 0.6996 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.3864, allocations: 55.64 kB / 0.6997 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3866, allocations: 30.22 kB / 0.6997 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.3872, allocations: 409.6 kB / 0.7001 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.172e-05/0.3873, allocations: 66.73 kB / 0.7002 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.704e-05/0.3874, allocations: 22.47 kB / 0.7002 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3875, allocations: 114.8 kB / 0.7003 GB, free: 49 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.3875, allocations: 0 / 0.7003 GB, free: 49 MB / 0.5573 GB Notification: Performance of Templates: time 0.00354/0.391, allocations: 1.622 MB / 0.7019 GB, free: 48.83 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8853850406594574]