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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001182/0.001182, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.86 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3305, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006942/0.3375, allocations: 5.594 MB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1548/0.4923, allocations: 148.7 MB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.4934, allocations: 23.72 kB / 1.218 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.4946, allocations: 310.1 kB / 1.219 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.4966, allocations: 493.1 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.4987, allocations: 0.792 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.5005, allocations: 1.554 MB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.5017, allocations: 0.7597 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.5025, allocations: 0.5332 MB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.5032, allocations: 0.5754 MB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.5035, allocations: 132 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009223/0.5044, allocations: 471.6 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.5048, allocations: 334.9 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.5055, allocations: 0.6644 MB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.5075, allocations: 1.857 MB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5075, allocations: 0 / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.407e-06/0.5076, allocations: 0 / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.183e-05/0.5076, allocations: 3.938 kB / 1.227 GB, free: 7.406 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.002924/0.5105, allocations: 1.678 MB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5106, allocations: 12.03 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00098/0.5116, allocations: 219 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5128, allocations: 0.8945 MB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.5129, allocations: 77.98 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5131, allocations: 96 kB / 1.229 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.5148, allocations: 1.032 MB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.5148, allocations: 0 / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/0.5149, allocations: 44 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.515, allocations: 24 kB / 1.231 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.5168, allocations: 1.167 MB / 1.232 GB, free: 2.039 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.004231/0.521, allocations: 3.048 MB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.5225, allocations: 0.7953 MB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.523, allocations: 298.7 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.5231, allocations: 36.59 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009083/0.524, allocations: 493.6 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 3.777e-06/0.524, allocations: 0 / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003199/0.5272, allocations: 1.209 MB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.5273, allocations: 188.6 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5283, allocations: 0.799 MB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.5284, allocations: 41.69 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.5288, allocations: 0.5078 MB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.529, allocations: 252.4 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.5292, allocations: 158.5 kB / 1.239 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5294, allocations: 345.8 kB / 1.24 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.5299, allocations: 265.9 kB / 1.24 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.5306, allocations: 359.1 kB / 1.24 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.5316, allocations: 0.6033 MB / 1.241 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5316, allocations: 0 / 1.241 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002018/0.5336, allocations: 0.8603 MB / 1.242 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.5337, allocations: 8 kB / 1.242 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5337, allocations: 0 / 1.242 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/0.5344, allocations: 92.73 kB / 1.242 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.5351, allocations: 155.7 kB / 1.242 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.5378, allocations: 1.634 MB / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5391, allocations: 108.8 kB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.5392, allocations: 31.97 kB / 1.244 GB, free: 5.352 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.0009108/0.5402, allocations: 297.9 kB / 1.244 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.5405, allocations: 102.7 kB / 1.244 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.5442, allocations: 1.074 MB / 1.245 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5442, allocations: 8 kB / 1.245 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5442, allocations: 3.938 kB / 1.245 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.5442, allocations: 11.97 kB / 1.245 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.546, allocations: 1.002 MB / 1.246 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.5461, allocations: 4 kB / 1.246 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.5469, allocations: 139.8 kB / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006525/0.5476, allocations: 72.78 kB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.5477, allocations: 23.98 kB / 1.246 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/0.5506, allocations: 1.678 MB / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5507, allocations: 0 / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5872/1.138, allocations: 0.9377 MB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/1.138, allocations: 286.9 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.139, allocations: 26.23 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/1.139, allocations: 63.86 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.14, allocations: 74.72 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/1.14, allocations: 31.95 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008925/1.14, allocations: 0.5553 MB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.141, allocations: 1.469 kB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001018/1.142, allocations: 352.9 kB / 1.25 GB, free: 182.8 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.001426/1.143, allocations: 0.6031 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002429/1.145, allocations: 1.022 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.145, allocations: 8.344 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009278/1.146, allocations: 0.5068 MB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/1.148, allocations: 467.7 kB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/1.152, allocations: 2.436 MB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/1.153, allocations: 1.106 MB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001236/1.154, allocations: 277.9 kB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/1.154, allocations: 116 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.553e-06/1.154, allocations: 0 / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03934/1.194, allocations: 17.27 MB / 1.273 GB, free: 177 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)