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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.994/2.994, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.03 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007393/0.3237, allocations: 5.61 MB / 1.074 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.4901, allocations: 150.9 MB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.4917, allocations: 27.81 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009103/0.4927, allocations: 357.3 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.4947, allocations: 0.5617 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.4967, allocations: 0.8697 MB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.4984, allocations: 1.554 MB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.4995, allocations: 0.7674 MB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007206/0.5003, allocations: 0.5293 MB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.5008, allocations: 0.5676 MB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.501, allocations: 132 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008151/0.5018, allocations: 475.6 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.5021, allocations: 334.9 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.5026, allocations: 0.6605 MB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.5045, allocations: 1.865 MB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5045, allocations: 3.938 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5045, allocations: 0 / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.5045, allocations: 0 / 1.229 GB, free: 4.582 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.002535/0.5071, allocations: 1.674 MB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5071, allocations: 8.031 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.508, allocations: 219 kB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.5092, allocations: 0.8867 MB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.5093, allocations: 74 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5094, allocations: 96 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.5112, allocations: 1.035 MB / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.5113, allocations: 0 / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.5114, allocations: 44 kB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.5114, allocations: 24 kB / 1.233 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.5132, allocations: 1.167 MB / 1.235 GB, free: 15.23 MB / 0.9981 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.004148/0.5174, allocations: 3.048 MB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.5188, allocations: 0.7935 MB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.5193, allocations: 306.6 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.5194, allocations: 32.59 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/0.5203, allocations: 495 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.154e-06/0.5203, allocations: 0 / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003001/0.5233, allocations: 1.205 MB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5234, allocations: 192.6 kB / 1.24 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009908/0.5244, allocations: 0.7951 MB / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.5245, allocations: 41.7 kB / 1.241 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.5249, allocations: 0.5078 MB / 1.242 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.525, allocations: 252.4 kB / 1.242 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.5253, allocations: 162.5 kB / 1.242 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5254, allocations: 337.9 kB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.5259, allocations: 261.9 kB / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.5265, allocations: 367.1 kB / 1.243 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5276, allocations: 0.5994 MB / 1.244 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5276, allocations: 4.062 kB / 1.244 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001848/0.5295, allocations: 0.8641 MB / 1.245 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5295, allocations: 8 kB / 1.245 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5295, allocations: 3.938 kB / 1.245 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.5301, allocations: 88.8 kB / 1.245 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.5307, allocations: 155.8 kB / 1.245 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.5327, allocations: 1.642 MB / 1.246 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.5334, allocations: 93.27 kB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.5335, allocations: 39.95 kB / 1.247 GB, free: 2.535 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.0004285/0.5339, allocations: 295.9 kB / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.5341, allocations: 106.7 kB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.5364, allocations: 1.07 MB / 1.248 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.5365, allocations: 12 kB / 1.248 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5365, allocations: 3.938 kB / 1.248 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.5365, allocations: 3.984 kB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5668/1.103, allocations: 1.006 MB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.103, allocations: 1.156 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/1.104, allocations: 140.8 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/1.105, allocations: 71.08 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/1.105, allocations: 23.19 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.107, allocations: 1.671 MB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.107, allocations: 4.797 kB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/1.109, allocations: 0.9455 MB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/1.11, allocations: 287.3 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.11, allocations: 19.95 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/1.11, allocations: 60.02 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.111, allocations: 73.2 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/1.111, allocations: 38.66 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008772/1.112, allocations: 0.5585 MB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.112, allocations: 0 / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001038/1.113, allocations: 347.5 kB / 1.253 GB, free: 181.7 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.001475/1.114, allocations: 0.5952 MB / 1.254 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00253/1.117, allocations: 1.023 MB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.117, allocations: 0 / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/1.118, allocations: 0.5175 MB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.119, allocations: 478.6 kB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/1.122, allocations: 1.942 MB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/1.123, allocations: 1.102 MB / 1.259 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009851/1.124, allocations: 290.9 kB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/1.124, allocations: 110.2 kB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.124, allocations: 0 / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0345/1.159, allocations: 17.39 MB / 1.276 GB, free: 176.1 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)