Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001386/0.001386, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001677/0.001677, allocations: 170.5 kB / 25.18 MB, free: 8.328 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.927/0.927, allocations: 177.1 MB / 205.6 MB, free: 4.375 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.857/1.857, allocations: 389.6 MB / 0.6364 GB, free: 13.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.12e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007275/0.007296, allocations: 5.354 MB / 0.7808 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5337/0.541, allocations: 146.3 MB / 0.9236 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.542, allocations: 35.69 kB / 0.9237 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007732/0.5427, allocations: 348.6 kB / 0.924 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.5443, allocations: 0.578 MB / 0.9246 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.5458, allocations: 0.8881 MB / 0.9254 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.5475, allocations: 1.636 MB / 0.927 GB, free: 7.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007109/0.5482, allocations: 0.5042 MB / 0.9275 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.5496, allocations: 0.8614 MB / 0.9284 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.5501, allocations: 426.6 kB / 0.9288 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.5503, allocations: 132 kB / 0.9289 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009479/0.5512, allocations: 0.5244 MB / 0.9294 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.5515, allocations: 334.8 kB / 0.9297 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.5518, allocations: 434.8 kB / 0.9301 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.5533, allocations: 1.393 MB / 0.9315 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.5533, allocations: 0 / 0.9315 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5533, allocations: 0 / 0.9315 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.5533, allocations: 0 / 0.9315 GB, free: 2.996 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00157/0.5549, allocations: 1.637 MB / 0.9331 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5549, allocations: 8.031 kB / 0.9331 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/0.5557, allocations: 320.2 kB / 0.9334 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007958/0.5565, allocations: 0.7274 MB / 0.9341 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.5565, allocations: 82.59 kB / 0.9342 GB, free: 172 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.5566, allocations: 103.9 kB / 0.9343 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5576, allocations: 0.9464 MB / 0.9352 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5576, allocations: 4 kB / 0.9352 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.5577, allocations: 47.94 kB / 0.9353 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5577, allocations: 24 kB / 0.9353 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.5582, allocations: 0.5947 MB / 0.9359 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.5603, allocations: 1.823 MB / 0.9377 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.5608, allocations: 391.7 kB / 0.938 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.561, allocations: 130.8 kB / 0.9382 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.561, allocations: 32.62 kB / 0.9382 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.5613, allocations: 451 kB / 0.9386 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 2.495e-06/0.5614, allocations: 0 / 0.9386 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=86): time 0.0009834/0.5623, allocations: 0.5693 MB / 0.9392 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.5624, allocations: 204.9 kB / 0.9394 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.5629, allocations: 0.6269 MB / 0.94 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.5629, allocations: 49.7 kB / 0.94 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.5631, allocations: 426.8 kB / 0.9404 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.5633, allocations: 289.5 kB / 0.9407 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.5634, allocations: 170.5 kB / 0.9409 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.5635, allocations: 337.9 kB / 0.9412 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5636, allocations: 96.77 kB / 0.9413 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.5638, allocations: 303.6 kB / 0.9416 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.5644, allocations: 330.3 kB / 0.9419 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5644, allocations: 4 kB / 0.9419 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006095/0.565, allocations: 466.8 kB / 0.9423 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.565, allocations: 4 kB / 0.9423 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.565, allocations: 4.094 kB / 0.9424 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.5654, allocations: 120.7 kB / 0.9425 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.5657, allocations: 187.7 kB / 0.9426 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.5668, allocations: 1.31 MB / 0.9439 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5671, allocations: 72.22 kB / 0.944 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.5671, allocations: 27.97 kB / 0.944 GB, free: 5.66 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (105): * Single equations (assignments): 104 * 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.0002293/0.5673, allocations: 179 kB / 0.9442 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.5674, allocations: 83.91 kB / 0.9443 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000791/0.5682, allocations: 0.6306 MB / 0.9449 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5682, allocations: 11.94 kB / 0.9449 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.5682, allocations: 0 / 0.9449 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5682, allocations: 3.984 kB / 0.9449 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.5696, allocations: 1.156 MB / 0.946 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5696, allocations: 0 / 0.946 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.5699, allocations: 143.8 kB / 0.9462 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/0.5702, allocations: 116.7 kB / 0.9463 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.5702, allocations: 23.97 kB / 0.9463 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008479/0.571, allocations: 1.328 MB / 0.9476 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5711, allocations: 3.938 kB / 0.9476 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.5717, allocations: 0.5673 MB / 0.9482 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.5719, allocations: 155 kB / 0.9483 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.572, allocations: 24 kB / 0.9483 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.5722, allocations: 40.09 kB / 0.9484 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.5722, allocations: 68.86 kB / 0.9484 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.5723, allocations: 19.98 kB / 0.9484 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005123/0.5728, allocations: 327.3 kB / 0.9488 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.5728, allocations: 0 / 0.9488 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006657/0.5735, allocations: 366.9 kB / 0.9491 GB, free: 292 kB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/0.5749, allocations: 0.7493 MB / 0.9498 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.5756, allocations: 0.5097 MB / 0.9503 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.5756, allocations: 8 kB / 0.9503 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.5759, allocations: 367 kB / 0.9507 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.5768, allocations: 479.3 kB / 0.9512 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.5792, allocations: 1.814 MB / 0.9529 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.5795, allocations: 0.5141 MB / 0.9534 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.5802, allocations: 363 kB / 0.9538 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/0.5802, allocations: 4 kB / 0.9538 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of Templates: time 0.02155/0.6018, allocations: 22.72 MB / 0.976 GB, free: 5.02 MB / 0.8855 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation > Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.489684792235494]