Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.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.001193/0.001193, allocations: 115.3 kB / 16.42 MB, free: 6.473 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.001371/0.001372, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8303, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006364/0.8367, allocations: 5.117 MB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1808/1.018, allocations: 150.8 MB / 1.241 GB, free: 128 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/1.019, allocations: 23 kB / 1.241 GB, free: 120 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/1.02, allocations: 350.6 kB / 1.241 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/1.023, allocations: 0.5229 MB / 1.242 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/1.026, allocations: 0.8612 MB / 1.243 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00244/1.028, allocations: 1.485 MB / 1.244 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/1.03, allocations: 0.8093 MB / 1.245 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/1.031, allocations: 0.5326 MB / 1.245 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/1.032, allocations: 0.565 MB / 1.246 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004444/1.032, allocations: 134.4 kB / 1.246 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/1.034, allocations: 495.6 kB / 1.247 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004501/1.034, allocations: 334.9 kB / 1.247 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009218/1.035, allocations: 0.641 MB / 1.247 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/1.038, allocations: 1.89 MB / 1.249 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.038, allocations: 4 kB / 1.249 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/1.038, allocations: 3.938 kB / 1.249 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.097e-05/1.038, allocations: 0 / 1.249 GB, free: 9.125 MB / 0.9825 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.00514/1.043, allocations: 1.663 MB / 1.251 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.043, allocations: 8.031 kB / 1.251 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/1.044, allocations: 219 kB / 1.251 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/1.046, allocations: 0.91 MB / 1.252 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/1.046, allocations: 81.94 kB / 1.252 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/1.047, allocations: 96 kB / 1.252 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/1.048, allocations: 1.035 MB / 1.253 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.049, allocations: 0 / 1.253 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/1.049, allocations: 40 kB / 1.253 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/1.049, allocations: 27.94 kB / 1.253 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/1.051, allocations: 1.163 MB / 1.254 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/1.055, allocations: 2.792 MB / 1.257 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.057, allocations: 0.7977 MB / 1.258 GB, free: 88 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/1.057, allocations: 302.7 kB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.26e-05/1.057, allocations: 24.55 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008335/1.058, allocations: 499.1 kB / 1.259 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/1.058, allocations: 0 / 1.259 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003034/1.061, allocations: 1.209 MB / 1.26 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/1.061, allocations: 192.6 kB / 1.26 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/1.062, allocations: 0.7913 MB / 1.261 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/1.062, allocations: 41.7 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/1.063, allocations: 0.5116 MB / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/1.063, allocations: 252.4 kB / 1.262 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/1.063, allocations: 162.5 kB / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.063, allocations: 341.9 kB / 1.262 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/1.064, allocations: 261.9 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/1.064, allocations: 363.1 kB / 1.263 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.065, allocations: 0.5994 MB / 1.263 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.065, allocations: 0 / 1.263 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001862/1.067, allocations: 0.8602 MB / 1.264 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.067, allocations: 12.08 kB / 1.264 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.067, allocations: 7.984 kB / 1.264 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/1.068, allocations: 76.78 kB / 1.264 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/1.069, allocations: 163.7 kB / 1.264 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.071, allocations: 1.638 MB / 1.266 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/1.071, allocations: 102 kB / 1.266 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/1.072, allocations: 31.98 kB / 1.266 GB, free: 7.371 MB / 0.9981 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.0004879/1.072, allocations: 300.4 kB / 1.266 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/1.072, allocations: 102.8 kB / 1.266 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/1.075, allocations: 1.066 MB / 1.268 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.075, allocations: 7.984 kB / 1.268 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/1.075, allocations: 0 / 1.268 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/1.075, allocations: 291.5 kB / 1.268 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.075, allocations: 23.98 kB / 1.268 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/1.076, allocations: 55.94 kB / 1.268 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.076, allocations: 72.83 kB / 1.268 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001975/1.078, allocations: 0.9474 MB / 1.269 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002238/1.08, allocations: 1.423 MB / 1.27 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005872/1.081, allocations: 355.8 kB / 1.271 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007077/1.082, allocations: 0.5542 MB / 1.271 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of Backend: time 7.32e-07/1.082, allocations: 4 kB / 1.271 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003707/1.085, allocations: 1.261 MB / 1.272 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of SimCode: time 0.004812/1.09, allocations: 2.482 MB / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of Templates: time 0.03088/1.121, allocations: 18.41 MB / 1.293 GB, free: 12.3 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)