Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 111 kB / 16.42 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 291.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8818/0.8818, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 103.8 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3712, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006296/0.3775, allocations: 5.123 MB / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.143/0.5205, allocations: 150.8 MB / 0.9193 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008564/0.5214, allocations: 23.88 kB / 0.9194 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008648/0.5223, allocations: 345.4 kB / 0.9197 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.524, allocations: 0.5195 MB / 0.9202 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.5258, allocations: 0.8594 MB / 0.921 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.5273, allocations: 1.485 MB / 0.9225 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.5284, allocations: 0.8139 MB / 0.9233 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.529, allocations: 0.5292 MB / 0.9238 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000599/0.5296, allocations: 0.5597 MB / 0.9243 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.5298, allocations: 132 kB / 0.9245 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/0.5307, allocations: 495.6 kB / 0.9249 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.531, allocations: 342.8 kB / 0.9253 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.5315, allocations: 0.6449 MB / 0.9259 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.5333, allocations: 1.891 MB / 0.9277 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.5333, allocations: 0 / 0.9277 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5333, allocations: 0 / 0.9277 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.393e-05/0.5333, allocations: 0 / 0.9277 GB, free: 14.71 MB / 0.7012 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.002707/0.5361, allocations: 1.671 MB / 0.9294 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5361, allocations: 8.031 kB / 0.9294 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.537, allocations: 227 kB / 0.9296 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.5383, allocations: 0.9101 MB / 0.9305 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.5384, allocations: 74 kB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.5385, allocations: 95.98 kB / 0.9307 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.5402, allocations: 1.032 MB / 0.9317 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5402, allocations: 0 / 0.9317 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.868e-05/0.5403, allocations: 44 kB / 0.9317 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.5403, allocations: 24 kB / 0.9317 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.5421, allocations: 1.171 MB / 0.9329 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.546, allocations: 2.8 MB / 0.9356 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.5474, allocations: 0.7885 MB / 0.9364 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.5479, allocations: 302.7 kB / 0.9367 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.548, allocations: 32.61 kB / 0.9367 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008208/0.5488, allocations: 491.1 kB / 0.9372 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 5.249e-06/0.5488, allocations: 4 kB / 0.9372 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78): time 0.002883/0.5517, allocations: 1.205 MB / 0.9383 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.5518, allocations: 196.6 kB / 0.9385 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.5527, allocations: 0.7952 MB / 0.9393 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.5528, allocations: 41.7 kB / 0.9393 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.5531, allocations: 0.5077 MB / 0.9398 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.5533, allocations: 252.4 kB / 0.9401 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.5535, allocations: 158.5 kB / 0.9402 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5536, allocations: 341.9 kB / 0.9406 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.5542, allocations: 269.9 kB / 0.9408 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.5548, allocations: 359.1 kB / 0.9412 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.5558, allocations: 0.6033 MB / 0.9417 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5558, allocations: 0 / 0.9417 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00183/0.5576, allocations: 0.8641 MB / 0.9426 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5577, allocations: 4 kB / 0.9426 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5577, allocations: 4 kB / 0.9426 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.5583, allocations: 80.88 kB / 0.9427 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.5589, allocations: 159.7 kB / 0.9428 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.5609, allocations: 1.646 MB / 0.9444 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/0.5616, allocations: 94 kB / 0.9445 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.5616, allocations: 35.97 kB / 0.9446 GB, free: 12.95 MB / 0.7169 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.0003806/0.562, allocations: 301.8 kB / 0.9448 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.5622, allocations: 102.9 kB / 0.9449 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.5644, allocations: 1.074 MB / 0.946 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5644, allocations: 3.984 kB / 0.946 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5644, allocations: 0 / 0.946 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.5648, allocations: 295.4 kB / 0.9463 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.565, allocations: 16 kB / 0.9463 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.5656, allocations: 63.94 kB / 0.9464 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.5657, allocations: 72.89 kB / 0.9464 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001892/0.5676, allocations: 0.9435 MB / 0.9473 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002176/0.5698, allocations: 1.423 MB / 0.9487 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005279/0.5703, allocations: 351.8 kB / 0.9491 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005994/0.5709, allocations: 0.5542 MB / 0.9496 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Backend: time 4.81e-07/0.571, allocations: 0 / 0.9496 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002858/0.5738, allocations: 1.261 MB / 0.9508 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003286/0.5771, allocations: 2.482 MB / 0.9533 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.3034/0.8805, allocations: 18.42 MB / 0.9713 GB, free: 183.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)