Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4615/0.4615, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 104.7 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 44.11 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3662, allocations: 70.08 MB / 0.5575 GB, free: 44.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005395/0.3717, allocations: 4.851 MB / 0.5622 GB, free: 40.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1496/0.5213, allocations: 148.4 MB / 0.7072 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.5224, allocations: 23.88 kB / 0.7072 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007953/0.5233, allocations: 274.2 kB / 0.7075 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.5247, allocations: 413.3 kB / 0.7079 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.5264, allocations: 0.7137 MB / 0.7086 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.5277, allocations: 1.274 MB / 0.7098 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3503/0.878, allocations: 0.781 MB / 0.7106 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.8792, allocations: 425.8 kB / 0.711 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007489/0.8799, allocations: 481.4 kB / 0.7114 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.8801, allocations: 59.09 kB / 0.7115 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.8812, allocations: 406.1 kB / 0.7119 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.8815, allocations: 244.9 kB / 0.7121 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.8822, allocations: 0.5356 MB / 0.7126 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.8848, allocations: 1.661 MB / 0.7143 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8848, allocations: 0 / 0.7143 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8848, allocations: 1 kB / 0.7143 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.8849, allocations: 0 / 0.7143 GB, free: 2.285 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003975/0.8889, allocations: 1.578 MB / 0.7158 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.8889, allocations: 8.938 kB / 0.7158 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.8901, allocations: 205.3 kB / 0.716 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.892, allocations: 0.8509 MB / 0.7168 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.8921, allocations: 71.73 kB / 0.7169 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.8923, allocations: 90.56 kB / 0.717 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.8943, allocations: 0.9747 MB / 0.7179 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.8943, allocations: 0 / 0.7179 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.8944, allocations: 42.2 kB / 0.718 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.8945, allocations: 22.56 kB / 0.718 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.8962, allocations: 1.118 MB / 0.7191 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004781/0.901, allocations: 2.696 MB / 0.7217 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.9022, allocations: 0.7021 MB / 0.7224 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.9026, allocations: 267 kB / 0.7227 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.9027, allocations: 31.97 kB / 0.7227 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008061/0.9035, allocations: 420.2 kB / 0.7231 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 2.465e-06/0.9035, allocations: 1.094 kB / 0.7231 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.002817/0.9063, allocations: 1.082 MB / 0.7242 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.9065, allocations: 185.5 kB / 0.7243 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.9075, allocations: 0.7525 MB / 0.7251 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.9076, allocations: 39.89 kB / 0.7251 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.9079, allocations: 0.4884 MB / 0.7256 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.9081, allocations: 230.9 kB / 0.7258 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.9083, allocations: 140.4 kB / 0.7259 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9084, allocations: 336.8 kB / 0.7263 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.9088, allocations: 231.2 kB / 0.7265 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.9093, allocations: 323.3 kB / 0.7268 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008481/0.9101, allocations: 0.5365 MB / 0.7273 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9102, allocations: 0 / 0.7273 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002033/0.9122, allocations: 0.7767 MB / 0.7281 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.9122, allocations: 5.562 kB / 0.7281 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9123, allocations: 5.125 kB / 0.7281 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.9129, allocations: 83.86 kB / 0.7282 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/0.9137, allocations: 144.9 kB / 0.7283 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.9158, allocations: 1.538 MB / 0.7298 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.9166, allocations: 84.53 kB / 0.7299 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.9167, allocations: 26.56 kB / 0.7299 GB, free: 13.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004883/0.9172, allocations: 274.2 kB / 0.7302 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.9173, allocations: 99 kB / 0.7303 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.9196, allocations: 0.9712 MB / 0.7312 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.9196, allocations: 8.094 kB / 0.7312 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.9196, allocations: 2.844 kB / 0.7312 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.9196, allocations: 3.094 kB / 0.7312 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.9206, allocations: 0.93 MB / 0.7321 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.9207, allocations: 4 kB / 0.7321 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.9213, allocations: 147.5 kB / 0.7323 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/0.9219, allocations: 84.22 kB / 0.7324 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.9219, allocations: 22.8 kB / 0.7324 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.9238, allocations: 1.553 MB / 0.7339 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9238, allocations: 3.469 kB / 0.7339 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.9268, allocations: 1.889 MB / 0.7357 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.9272, allocations: 267.6 kB / 0.736 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.9274, allocations: 23.39 kB / 0.736 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.9279, allocations: 51.09 kB / 0.7361 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.928, allocations: 58.98 kB / 0.7361 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.9281, allocations: 35.47 kB / 0.7362 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000706/0.9288, allocations: 0.5256 MB / 0.7367 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9288, allocations: 0 / 0.7367 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001247/0.9301, allocations: 316.4 kB / 0.737 GB, free: 10.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001462/0.9315, allocations: 0.5996 MB / 0.7376 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.9331, allocations: 0.7425 MB / 0.7383 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.9331, allocations: 0 / 0.7383 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008267/0.9339, allocations: 486.2 kB / 0.7387 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.9356, allocations: 402 kB / 0.7391 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.9401, allocations: 2.822 MB / 0.7419 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.9407, allocations: 1.088 MB / 0.7429 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001009/0.9418, allocations: 277.6 kB / 0.7432 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.942, allocations: 102.9 kB / 0.7433 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/0.942, allocations: 7.562 kB / 0.7433 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.03757/0.9796, allocations: 15.65 MB / 0.7586 GB, free: 3.348 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)