Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001074/0.001074, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00857/0.00857, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.073/3.073, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 8.594 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3241, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006553/0.3307, allocations: 5.15 MB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5074, allocations: 147 MB / 1.223 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009479/0.5084, allocations: 23.81 kB / 1.223 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007732/0.5092, allocations: 298.1 kB / 1.223 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.5108, allocations: 477.2 kB / 1.223 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.5127, allocations: 0.7583 MB / 1.224 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.5143, allocations: 1.453 MB / 1.226 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5153, allocations: 0.7355 MB / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.5159, allocations: 386 kB / 1.227 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.5164, allocations: 449.3 kB / 1.227 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.5165, allocations: 28 kB / 1.227 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.5174, allocations: 359.7 kB / 1.227 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.5176, allocations: 214.8 kB / 1.228 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.518, allocations: 0.545 MB / 1.228 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.5196, allocations: 1.752 MB / 1.23 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5196, allocations: 0 / 1.23 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5196, allocations: 0 / 1.23 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.5197, allocations: 4 kB / 1.23 GB, free: 7.348 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.002569/0.5222, allocations: 1.414 MB / 1.231 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5223, allocations: 8.031 kB / 1.231 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.5233, allocations: 235 kB / 1.232 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5245, allocations: 0.8905 MB / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.5246, allocations: 74 kB / 1.233 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5247, allocations: 96 kB / 1.233 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.5264, allocations: 1.035 MB / 1.234 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5265, allocations: 0 / 1.234 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.5266, allocations: 44 kB / 1.234 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.5266, allocations: 24 kB / 1.234 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.5284, allocations: 1.175 MB / 1.235 GB, free: 2.23 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.004276/0.5327, allocations: 3.072 MB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.5341, allocations: 0.8052 MB / 1.239 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.5347, allocations: 306.6 kB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.387e-05/0.5348, allocations: 32.59 kB / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/0.5356, allocations: 495.1 kB / 1.239 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.104e-06/0.5356, allocations: 0 / 1.239 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003081/0.5387, allocations: 1.221 MB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5388, allocations: 196.6 kB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.5398, allocations: 0.7913 MB / 1.242 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.5399, allocations: 41.7 kB / 1.242 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.5403, allocations: 0.5155 MB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.5405, allocations: 252.4 kB / 1.242 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.5406, allocations: 65.69 kB / 1.242 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5408, allocations: 345.8 kB / 1.243 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/0.5413, allocations: 269.9 kB / 1.243 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.542, allocations: 359.1 kB / 1.243 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5431, allocations: 0.6151 MB / 1.244 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5431, allocations: 0 / 1.244 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002/0.5451, allocations: 0.8719 MB / 1.245 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.5451, allocations: 4 kB / 1.245 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5452, allocations: 3.984 kB / 1.245 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/0.5458, allocations: 88.81 kB / 1.245 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.5465, allocations: 155.8 kB / 1.245 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.549, allocations: 1.544 MB / 1.247 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.5499, allocations: 111.9 kB / 1.247 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.5499, allocations: 27.98 kB / 1.247 GB, free: 5.648 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.00071/0.5507, allocations: 291.4 kB / 1.247 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.5508, allocations: 106.7 kB / 1.247 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.5531, allocations: 1.082 MB / 1.248 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.5532, allocations: 12 kB / 1.248 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5532, allocations: 0 / 1.248 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5532, allocations: 7.984 kB / 1.248 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.5544, allocations: 1.005 MB / 1.249 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5544, allocations: 0 / 1.249 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.555, allocations: 139.8 kB / 1.249 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/0.5555, allocations: 88.78 kB / 1.249 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.5556, allocations: 23.97 kB / 1.249 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.5574, allocations: 1.579 MB / 1.251 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5574, allocations: 3.938 kB / 1.251 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.5593, allocations: 0.9433 MB / 1.252 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6442/1.203, allocations: 296.9 kB / 1.252 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/1.204, allocations: 20.11 kB / 1.252 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/1.205, allocations: 82.64 kB / 1.252 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/1.205, allocations: 71.06 kB / 1.252 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/1.205, allocations: 36.66 kB / 1.252 GB, free: 181 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009604/1.206, allocations: 0.5554 MB / 1.253 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.206, allocations: 0 / 1.253 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009982/1.207, allocations: 350.8 kB / 1.253 GB, free: 180.9 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.00138/1.208, allocations: 0.596 MB / 1.254 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.21, allocations: 0.8333 MB / 1.255 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.21, allocations: 0.8438 kB / 1.255 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.211, allocations: 0.5167 MB / 1.255 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.213, allocations: 428.8 kB / 1.255 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/1.217, allocations: 2.456 MB / 1.258 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/1.217, allocations: 1.102 MB / 1.259 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001014/1.219, allocations: 288.5 kB / 1.259 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.219, allocations: 105.9 kB / 1.259 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.219, allocations: 1.25 kB / 1.259 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03134/1.25, allocations: 16.57 MB / 1.276 GB, free: 175.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)