Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.0006432/0.0006432, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008567/0.0015, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006976/0.0006976, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008573/0.001555, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.946/0.946, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08511/1.031, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 229.3 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.00369, allocations: 475.1 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6905/0.6905, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06588/0.7564, allocations: 42.4 MB / 426.5 MB, free: 5.945 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.895e-06/9.157e-06, allocations: 6.312 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.0016/0.001609, allocations: 1.591 MB / 429.4 MB, free: 3.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004952/0.002104, allocations: 494.5 kB / 429.9 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.002135, allocations: 0 / 429.9 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.002155, allocations: 11.92 kB / 429.9 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.002259, allocations: 23.84 kB / 429.9 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.827e-05/0.002317, allocations: 15.92 kB / 429.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.002387, allocations: 59.73 kB / 430 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.002452, allocations: 11.97 kB / 430 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.002589, allocations: 35.91 kB / 430 MB, free: 2.363 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.002653, allocations: 23.91 kB / 430.1 MB, free: 2.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.002666, allocations: 4 kB / 430.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.002675, allocations: 4 kB / 430.1 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.002691, allocations: 15.94 kB / 430.1 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.002716, allocations: 8 kB / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.00279, allocations: 35.84 kB / 430.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.002803, allocations: 0 / 430.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002803, allocations: 0 / 430.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.002817, allocations: 0 / 430.1 MB, free: 2.273 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003697/0.003187, allocations: 252.6 kB / 430.4 MB, free: 2.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.003215, allocations: 11.98 kB / 430.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.003239, allocations: 4.938 kB / 430.4 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.003314, allocations: 117.7 kB / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.003326, allocations: 12.31 kB / 430.5 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.003333, allocations: 384 / 430.5 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.378e-05/0.003406, allocations: 58.95 kB / 430.6 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003413, allocations: 192 / 430.6 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.00342, allocations: 4.359 kB / 430.6 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.003427, allocations: 7.938 kB / 430.6 MB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.003454, allocations: 4 kB / 430.6 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.003628, allocations: 164.2 kB / 430.7 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.003685, allocations: 38.56 kB / 430.8 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.003702, allocations: 8.859 kB / 430.8 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.003707, allocations: 4 kB / 430.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.358e-05/0.003791, allocations: 59.47 kB / 430.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.003792, allocations: 0 / 430.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 9.804e-05/0.00389, allocations: 61.56 kB / 430.9 MB, free: 1.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.003918, allocations: 51.41 kB / 431 MB, free: 1.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.219e-05/0.003971, allocations: 110.7 kB / 431.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.003984, allocations: 29.7 kB / 431.1 MB, free: 1.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.004007, allocations: 84.12 kB / 431.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.004027, allocations: 19.84 kB / 431.2 MB, free: 1.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.004056, allocations: 21.69 kB / 431.2 MB, free: 1.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.00412, allocations: 314.8 kB / 431.5 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.004129, allocations: 4 kB / 431.5 MB, free: 0.707 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.00414, allocations: 11.98 kB / 431.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.004168, allocations: 21.22 kB / 431.6 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.00417, allocations: 4 kB / 431.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.564e-05/0.004216, allocations: 53.56 kB / 431.6 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.004226, allocations: 7.938 kB / 431.6 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.004229, allocations: 4 kB / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.004236, allocations: 0 / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.004289, allocations: 8 kB / 431.6 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.004291, allocations: 0 / 431.6 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.004319, allocations: 7.984 kB / 431.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.004327, allocations: 8 kB / 431.7 MB, free: 0.5742 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.769e-05/0.004374, allocations: 109.8 kB / 431.8 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.004382, allocations: 4 kB / 431.8 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.004403, allocations: 12.06 kB / 431.8 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.004404, allocations: 0 / 431.8 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.004407, allocations: 7.984 kB / 431.8 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004409, allocations: 0 / 431.8 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.375e-05/0.004463, allocations: 69.84 kB / 431.9 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004464, allocations: 0 / 431.9 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.004478, allocations: 11.98 kB / 431.9 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.004487, allocations: 7.953 kB / 431.9 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.004488, allocations: 0 / 431.9 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.004493, allocations: 3.938 kB / 431.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004493, allocations: 0 / 431.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004494, allocations: 0 / 431.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.609e-05/0.00455, allocations: 77.09 kB / 432 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.004564, allocations: 7.984 kB / 432 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.004585, allocations: 0 / 432 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.004606, allocations: 11.92 kB / 432 MB, free: 220 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.004613, allocations: 8.125 kB / 432 MB, free: 212 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.186e-05/0.004625, allocations: 12.86 kB / 432 MB, free: 196 kB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004625, allocations: 3.938 kB / 432 MB, free: 192 kB / 410.7 MB Notification: Performance of remove unused functions: time 9.198e-05/0.004717, allocations: 12 kB / 432 MB, free: 180 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 5.912e-05/0.004776, allocations: 80.41 kB / 432.1 MB, free: 88 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.426e-05/0.004831, allocations: 24.86 kB / 432.1 MB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.004835, allocations: 0 / 432.1 MB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.004856, allocations: 20.78 kB / 432.1 MB, free: 36 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.682e-05/0.004913, allocations: 8 kB / 432.1 MB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1578/0.1628, allocations: 166 kB / 432.3 MB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.208e-05/0.1628, allocations: 57.42 kB / 432.4 MB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.1628, allocations: 2.969 kB / 432.4 MB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.1628, allocations: 55.33 kB / 432.4 MB, free: 2.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1629, allocations: 0.875 kB / 432.4 MB, free: 2.59 MB / 410.7 MB Notification: Performance of Templates: time 0.002031/0.1649, allocations: 0.5921 MB / 433 MB, free: 2.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.241397482343018]