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.001491/0.001491, allocations: 108 kB / 15.6 MB, free: 132 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.001785/0.001785, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 60.98 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2862, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007596/0.2938, allocations: 5.61 MB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.4576, allocations: 150.9 MB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.4587, allocations: 27.81 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008567/0.4596, allocations: 365.3 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.4615, allocations: 0.5546 MB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.4637, allocations: 0.8737 MB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.4656, allocations: 1.554 MB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.4666, allocations: 0.7635 MB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007734/0.4674, allocations: 0.5293 MB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.468, allocations: 0.5753 MB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.4682, allocations: 132 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.4692, allocations: 471.6 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.4695, allocations: 330.9 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006097/0.4702, allocations: 0.6644 MB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.4724, allocations: 1.869 MB / 1.229 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4724, allocations: 3.938 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.644e-06/0.4724, allocations: 0 / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.4724, allocations: 0 / 1.229 GB, free: 4.594 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.002896/0.4753, allocations: 1.677 MB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.4754, allocations: 8.031 kB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.4764, allocations: 223 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4777, allocations: 0.8828 MB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.4778, allocations: 74 kB / 1.232 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4779, allocations: 96 kB / 1.232 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4796, allocations: 1.035 MB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4796, allocations: 0 / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.4797, allocations: 40 kB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.4797, allocations: 24 kB / 1.233 GB, free: 424 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.4816, allocations: 1.167 MB / 1.235 GB, free: 15.25 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.004516/0.4861, allocations: 3.044 MB / 1.238 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4875, allocations: 0.8013 MB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.488, allocations: 302.7 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-05/0.4881, allocations: 36.53 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/0.4889, allocations: 491.1 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.255e-06/0.489, allocations: 0 / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003087/0.492, allocations: 1.201 MB / 1.24 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.4921, allocations: 196.6 kB / 1.24 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.4931, allocations: 0.7912 MB / 1.241 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.4932, allocations: 49.64 kB / 1.241 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.4935, allocations: 0.5117 MB / 1.242 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.4937, allocations: 252.4 kB / 1.242 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.494, allocations: 158.5 kB / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4941, allocations: 337.9 kB / 1.243 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/0.4946, allocations: 265.8 kB / 1.243 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.4953, allocations: 363.1 kB / 1.243 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.4964, allocations: 0.5994 MB / 1.244 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4964, allocations: 0 / 1.244 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001975/0.4984, allocations: 0.868 MB / 1.245 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4984, allocations: 4 kB / 1.245 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4984, allocations: 7.938 kB / 1.245 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.4991, allocations: 88.8 kB / 1.245 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.4997, allocations: 151.8 kB / 1.245 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.5019, allocations: 1.65 MB / 1.246 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/0.5026, allocations: 95.39 kB / 1.247 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.5027, allocations: 31.97 kB / 1.247 GB, free: 2.547 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.00049/0.5032, allocations: 299.9 kB / 1.247 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.5034, allocations: 102.7 kB / 1.247 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.5057, allocations: 1.07 MB / 1.248 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.5057, allocations: 12 kB / 1.248 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5057, allocations: 3.938 kB / 1.248 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5057, allocations: 3.984 kB / 1.248 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5112/1.017, allocations: 0.9959 MB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.017, allocations: 0.5625 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/1.018, allocations: 140.9 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/1.018, allocations: 72.64 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/1.018, allocations: 26.78 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/1.021, allocations: 1.673 MB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.021, allocations: 1.328 kB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/1.023, allocations: 0.9456 MB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/1.023, allocations: 282.4 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.023, allocations: 23.38 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/1.024, allocations: 66.72 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.024, allocations: 69.05 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/1.024, allocations: 32.08 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008202/1.025, allocations: 0.5648 MB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.025, allocations: 0 / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009204/1.026, allocations: 349.7 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.00135/1.027, allocations: 0.5976 MB / 1.254 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00254/1.03, allocations: 1.022 MB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.03, allocations: 0 / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009209/1.031, allocations: 0.516 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.001781/1.033, allocations: 480.7 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.002995/1.036, allocations: 1.949 MB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/1.036, allocations: 1.099 MB / 1.259 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009913/1.037, allocations: 280.1 kB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/1.037, allocations: 114.6 kB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.037, allocations: 0 / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03569/1.073, allocations: 17.4 MB / 1.276 GB, free: 176.1 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)