Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 117.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.002465/0.002465, allocations: 285.7 kB / 303.6 MB, free: 3.711 MB / 238.1 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 1.129/1.129, allocations: 180.9 MB / 0.5268 GB, free: 2.723 MB / 382.1 MB " [Timeout remaining time 178] 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.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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 103.8 kB / 0.7259 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7276, allocations: 94.16 MB / 0.8179 GB, free: 7.414 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004439/0.732, allocations: 1.886 MB / 0.8197 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.7346, allocations: 1.59 MB / 0.8213 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.7347, allocations: 1.344 kB / 0.8213 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.735, allocations: 35.44 kB / 0.8213 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.7353, allocations: 76.44 kB / 0.8214 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.7358, allocations: 174.2 kB / 0.8215 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.7361, allocations: 293.2 kB / 0.8218 GB, free: 4.719 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.7363, allocations: 19.16 kB / 0.8218 GB, free: 4.707 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.7364, allocations: 101.2 kB / 0.8219 GB, free: 4.664 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.7367, allocations: 111.7 kB / 0.822 GB, free: 4.617 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.7368, allocations: 20.03 kB / 0.8221 GB, free: 4.617 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.737, allocations: 78.02 kB / 0.8221 GB, free: 4.602 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.7372, allocations: 89.92 kB / 0.8222 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.7374, allocations: 116.5 kB / 0.8223 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.7379, allocations: 334.9 kB / 0.8227 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7379, allocations: 7.938 kB / 0.8227 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7379, allocations: 3.125 kB / 0.8227 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.7379, allocations: 0 / 0.8227 GB, free: 4.336 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008682/0.7388, allocations: 0.5577 MB / 0.8232 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7388, allocations: 11.2 kB / 0.8232 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.739, allocations: 32.62 kB / 0.8233 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.7393, allocations: 279 kB / 0.8235 GB, free: 3.57 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.7393, allocations: 11.36 kB / 0.8235 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.7394, allocations: 25.97 kB / 0.8236 GB, free: 3.555 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.7398, allocations: 241.1 kB / 0.8238 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7398, allocations: 0 / 0.8238 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.7399, allocations: 8 kB / 0.8238 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.7399, allocations: 5.906 kB / 0.8238 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.7409, allocations: 0.7522 MB / 0.8245 GB, free: 3.324 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.7422, allocations: 0.6386 MB / 0.8252 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.7428, allocations: 290.9 kB / 0.8254 GB, free: 2.797 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.743, allocations: 97.28 kB / 0.8255 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/0.7431, allocations: 26.23 kB / 0.8256 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005674/0.7437, allocations: 192.8 kB / 0.8257 GB, free: 2.648 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.7437, allocations: 3.938 kB / 0.8257 GB, free: 2.645 MB / 0.5763 GB Notification: Performance of matching and sorting (n=35): time 0.0009019/0.7446, allocations: 373.9 kB / 0.8261 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.7446, allocations: 131.7 kB / 0.8262 GB, free: 2.352 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.745, allocations: 310 kB / 0.8265 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.7451, allocations: 32.77 kB / 0.8265 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.7452, allocations: 139 kB / 0.8267 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.7453, allocations: 119.4 kB / 0.8268 GB, free: 1.941 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.7454, allocations: 68.3 kB / 0.8269 GB, free: 1.902 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7455, allocations: 344.2 kB / 0.8272 GB, free: 1.574 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.7457, allocations: 88.83 kB / 0.8273 GB, free: 1.543 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.7459, allocations: 124.2 kB / 0.8274 GB, free: 1.48 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.7463, allocations: 211.6 kB / 0.8276 GB, free: 1.398 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7463, allocations: 0 / 0.8276 GB, free: 1.398 MB / 0.5763 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000457/0.7468, allocations: 289.6 kB / 0.8279 GB, free: 1.277 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.7468, allocations: 7.703 kB / 0.8279 GB, free: 1.273 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7468, allocations: 3.938 kB / 0.8279 GB, free: 1.27 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.7468, allocations: 2.875 kB / 0.8279 GB, free: 1.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.7471, allocations: 60.89 kB / 0.8279 GB, free: 1.266 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.7471, allocations: 2.75 kB / 0.8279 GB, free: 1.266 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.7472, allocations: 27.75 kB / 0.828 GB, free: 1.25 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.7473, allocations: 14.58 kB / 0.828 GB, free: 1.246 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001793/0.7474, allocations: 161.3 kB / 0.8281 GB, free: 1.109 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.7475, allocations: 33.95 kB / 0.8282 GB, free: 1.09 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000759/0.7483, allocations: 387.1 kB / 0.8285 GB, free: 0.9219 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.7483, allocations: 7.641 kB / 0.8285 GB, free: 0.918 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7483, allocations: 0 / 0.8285 GB, free: 0.918 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.7483, allocations: 1.688 kB / 0.8285 GB, free: 0.918 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.7487, allocations: 344.6 kB / 0.8289 GB, free: 0.6602 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7487, allocations: 4.75 kB / 0.8289 GB, free: 0.6562 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.7489, allocations: 62.78 kB / 0.8289 GB, free: 0.6484 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7489, allocations: 4.031 kB / 0.8289 GB, free: 0.6445 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.749, allocations: 16.02 kB / 0.829 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.749, allocations: 0 / 0.829 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.749, allocations: 0.7969 kB / 0.829 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.7495, allocations: 329.4 kB / 0.8293 GB, free: 488 kB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.7497, allocations: 149.8 kB / 0.8294 GB, free: 356 kB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.7498, allocations: 11.66 kB / 0.8294 GB, free: 348 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.75, allocations: 21.41 kB / 0.8294 GB, free: 344 kB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.7501, allocations: 27.3 kB / 0.8295 GB, free: 336 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.7501, allocations: 15.14 kB / 0.8295 GB, free: 336 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002501/0.7503, allocations: 236.7 kB / 0.8297 GB, free: 212 kB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.7503, allocations: 4 kB / 0.8297 GB, free: 208 kB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003538/0.7507, allocations: 69.69 kB / 0.8298 GB, free: 188 kB / 0.5763 GB 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 0.001641/0.7523, allocations: 400 kB / 0.8302 GB, free: 4 kB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005801/0.7529, allocations: 223 kB / 0.8304 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7529, allocations: 0 / 0.8304 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.7532, allocations: 129.5 kB / 0.8305 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.7535, allocations: 50.84 kB / 0.8306 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.7547, allocations: 0.5613 MB / 0.8311 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.7552, allocations: 0.7665 MB / 0.8318 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.7553, allocations: 56.67 kB / 0.8319 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.7553, allocations: 0 / 0.8319 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of Templates: time 0.01099/0.7663, allocations: 4.508 MB / 0.8363 GB, free: 14.29 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.286605851026252] Failed to read output from testmodel.py, exit status != 0: 0.775900823995471 0.792472465 0.051219789 Calling exit ...