Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000854/0.0008542, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006032/0.006032, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.476/1.476, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 8.094 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3677, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006398/0.3742, allocations: 5.158 MB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1672/0.5413, allocations: 147 MB / 1.223 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.5423, allocations: 27.81 kB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.543, allocations: 294.1 kB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.5446, allocations: 479.9 kB / 1.223 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.5465, allocations: 0.7568 MB / 1.224 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.548, allocations: 1.46 MB / 1.226 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.5493, allocations: 0.7277 MB / 1.226 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.5499, allocations: 386 kB / 1.227 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.5504, allocations: 437.3 kB / 1.227 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.952e-05/0.5505, allocations: 31.94 kB / 1.227 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007533/0.5513, allocations: 367.7 kB / 1.227 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.5515, allocations: 210.9 kB / 1.228 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.552, allocations: 0.5489 MB / 1.228 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.5535, allocations: 1.744 MB / 1.23 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5535, allocations: 4 kB / 1.23 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5535, allocations: 0 / 1.23 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.5535, allocations: 0 / 1.23 GB, free: 7.344 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.002291/0.5558, allocations: 1.421 MB / 1.231 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5559, allocations: 16.03 kB / 1.231 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/0.5568, allocations: 223 kB / 1.232 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.5579, allocations: 0.8944 MB / 1.232 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.558, allocations: 74 kB / 1.232 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.5581, allocations: 99.98 kB / 1.233 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.5598, allocations: 1.032 MB / 1.234 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5599, allocations: 3.984 kB / 1.234 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.56, allocations: 40 kB / 1.234 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.56, allocations: 24 kB / 1.234 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.5619, allocations: 1.179 MB / 1.235 GB, free: 2.215 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.5662, allocations: 3.074 MB / 1.238 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.5677, allocations: 0.8051 MB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.5682, allocations: 306.6 kB / 1.239 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-05/0.5683, allocations: 40.59 kB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.5691, allocations: 495.1 kB / 1.239 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.485e-06/0.5692, allocations: 4 kB / 1.239 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.00314/0.5723, allocations: 1.221 MB / 1.241 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.5724, allocations: 192.6 kB / 1.241 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.5738, allocations: 0.7913 MB / 1.242 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.5738, allocations: 41.7 kB / 1.242 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006358/0.5745, allocations: 0.5116 MB / 1.242 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.5747, allocations: 256.4 kB / 1.242 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.5749, allocations: 65.69 kB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.5751, allocations: 341.9 kB / 1.243 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.5756, allocations: 273.8 kB / 1.243 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.5763, allocations: 359.1 kB / 1.243 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.5774, allocations: 0.6112 MB / 1.244 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5774, allocations: 4 kB / 1.244 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002008/0.5794, allocations: 0.8719 MB / 1.245 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.5795, allocations: 4 kB / 1.245 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.5795, allocations: 4 kB / 1.245 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.5802, allocations: 88.8 kB / 1.245 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.5809, allocations: 155.8 kB / 1.245 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.5831, allocations: 1.539 MB / 1.247 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.584, allocations: 99.95 kB / 1.247 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/0.5841, allocations: 39.97 kB / 1.247 GB, free: 5.629 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.0006255/0.5847, allocations: 291.6 kB / 1.247 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.5849, allocations: 106.7 kB / 1.247 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.5873, allocations: 1.086 MB / 1.248 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.5874, allocations: 12 kB / 1.248 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.5874, allocations: 0 / 1.248 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5874, allocations: 3.984 kB / 1.248 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.5886, allocations: 1.013 MB / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5887, allocations: 0 / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.5892, allocations: 143.8 kB / 1.249 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.5897, allocations: 80.78 kB / 1.249 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.5898, allocations: 27.97 kB / 1.249 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.5916, allocations: 1.567 MB / 1.251 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5916, allocations: 3.938 kB / 1.251 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.5936, allocations: 0.9472 MB / 1.252 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6749/1.268, allocations: 296.3 kB / 1.252 GB, free: 29.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/1.269, allocations: 21.25 kB / 1.252 GB, free: 29.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008476/1.27, allocations: 85.97 kB / 1.252 GB, free: 29.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/1.27, allocations: 68.34 kB / 1.252 GB, free: 29.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.27, allocations: 34.95 kB / 1.252 GB, free: 29.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001057/1.271, allocations: 0.5555 MB / 1.253 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.271, allocations: 0.6562 kB / 1.253 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00105/1.272, allocations: 352.7 kB / 1.253 GB, free: 29.61 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001508/1.274, allocations: 0.594 MB / 1.254 GB, free: 29.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001913/1.276, allocations: 0.8318 MB / 1.255 GB, free: 29.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.276, allocations: 0.75 kB / 1.255 GB, free: 29.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.277, allocations: 0.5172 MB / 1.255 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.279, allocations: 434.1 kB / 1.255 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/1.282, allocations: 2.448 MB / 1.258 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/1.283, allocations: 1.104 MB / 1.259 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001038/1.284, allocations: 286.2 kB / 1.259 GB, free: 27.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/1.284, allocations: 114.9 kB / 1.259 GB, free: 27.21 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.284, allocations: 0 / 1.259 GB, free: 27.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.03134/1.316, allocations: 16.56 MB / 1.276 GB, free: 25.89 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)