Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.00177/0.00177, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001944/0.001944, allocations: 209.1 kB / 23 MB, free: 4.934 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.337/3.337, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 66.25 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4231, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009537/0.4326, allocations: 5.075 MB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1835/0.6161, allocations: 133 MB / 1.462 GB, free: 6.422 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.6176, allocations: 39.62 kB / 1.462 GB, free: 6.383 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.6187, allocations: 373.4 kB / 1.462 GB, free: 6.016 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.6211, allocations: 0.5889 MB / 1.463 GB, free: 5.426 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.6236, allocations: 0.8988 MB / 1.464 GB, free: 4.535 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.6257, allocations: 1.578 MB / 1.465 GB, free: 2.953 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6267, allocations: 0.5068 MB / 1.466 GB, free: 2.402 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008878/0.6276, allocations: 0.5682 MB / 1.466 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007485/0.6284, allocations: 0.5792 MB / 1.467 GB, free: 1.25 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.6286, allocations: 132 kB / 1.467 GB, free: 1.121 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.63, allocations: 0.5153 MB / 1.468 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.6304, allocations: 346.8 kB / 1.468 GB, free: 272 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006621/0.631, allocations: 0.5285 MB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.6339, allocations: 1.98 MB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.6339, allocations: 0 / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6339, allocations: 0 / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.6339, allocations: 0 / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003363/0.6373, allocations: 1.679 MB / 1.472 GB, free: 12.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6373, allocations: 8.031 kB / 1.472 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.639, allocations: 267.8 kB / 1.472 GB, free: 11.76 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.6408, allocations: 0.8465 MB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.6408, allocations: 70 kB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.641, allocations: 99.98 kB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.6431, allocations: 1.287 MB / 1.474 GB, free: 9.336 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.6432, allocations: 0 / 1.474 GB, free: 9.336 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6433, allocations: 40 kB / 1.474 GB, free: 9.297 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.6433, allocations: 24 kB / 1.474 GB, free: 9.273 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.6453, allocations: 1.128 MB / 1.476 GB, free: 8.145 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.65, allocations: 2.342 MB / 1.478 GB, free: 5.746 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.6515, allocations: 0.7483 MB / 1.479 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.6521, allocations: 278.6 kB / 1.479 GB, free: 4.715 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.6522, allocations: 24.56 kB / 1.479 GB, free: 4.691 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.6533, allocations: 0.5924 MB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 3.026e-06/0.6533, allocations: 0 / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003487/0.6567, allocations: 1.127 MB / 1.481 GB, free: 2.922 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.6569, allocations: 200.6 kB / 1.481 GB, free: 2.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.6581, allocations: 0.7475 MB / 1.481 GB, free: 1.93 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/0.6582, allocations: 41.7 kB / 1.482 GB, free: 1.883 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006422/0.6588, allocations: 0.5242 MB / 1.482 GB, free: 1.352 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.6591, allocations: 261.8 kB / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.6594, allocations: 158.6 kB / 1.482 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6596, allocations: 345.9 kB / 1.483 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/0.6601, allocations: 261.9 kB / 1.483 GB, free: 340 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.661, allocations: 495.6 kB / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.6622, allocations: 0.5994 MB / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6622, allocations: 0 / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002361/0.6646, allocations: 0.8647 MB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.6646, allocations: 9.875 kB / 1.485 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6646, allocations: 0 / 1.485 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006968/0.6653, allocations: 84.86 kB / 1.485 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.666, allocations: 155.8 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.6688, allocations: 1.523 MB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.6697, allocations: 87.56 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.6698, allocations: 31.98 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.6704, allocations: 300.1 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.6706, allocations: 103.3 kB / 1.487 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.6732, allocations: 1.059 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6732, allocations: 3.984 kB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6732, allocations: 4 kB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.6738, allocations: 218.9 kB / 1.488 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.6739, allocations: 27.94 kB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/0.6745, allocations: 59.88 kB / 1.488 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.6747, allocations: 72.86 kB / 1.489 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002213/0.6769, allocations: 0.9436 MB / 1.489 GB, free: 9.512 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002563/0.6795, allocations: 1.422 MB / 1.491 GB, free: 8.07 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006613/0.6801, allocations: 323.9 kB / 1.491 GB, free: 7.758 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008009/0.6809, allocations: 0.5302 MB / 1.492 GB, free: 7.234 MB / 1.186 GB Notification: Performance of Backend: time 7.12e-07/0.6809, allocations: 0 / 1.492 GB, free: 7.234 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004733/0.6857, allocations: 1.298 MB / 1.493 GB, free: 6.191 MB / 1.186 GB Notification: Performance of SimCode: time 0.004349/0.69, allocations: 2.528 MB / 1.495 GB, free: 3.633 MB / 1.186 GB Notification: Performance of Templates: time 0.03697/0.727, allocations: 21.2 MB / 1.516 GB, free: 14.69 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.319036569999298] Failed to read output from testmodel.py, exit status != 0: 0.7364329010015354 0.7507702940000001 0.11358557000000001 Calling exit ...