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.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001428/0.001428, allocations: 192.3 kB / 16.14 MB, free: 6.688 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.64 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3633, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007661/0.371, allocations: 5.601 MB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.5492, allocations: 148.6 MB / 1.218 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.5506, allocations: 27.81 kB / 1.218 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009834/0.5516, allocations: 294.2 kB / 1.218 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.5536, allocations: 485.3 kB / 1.219 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.5556, allocations: 0.7624 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.5574, allocations: 1.449 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.5585, allocations: 0.7394 MB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007597/0.5593, allocations: 473.9 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.5599, allocations: 0.5324 MB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.5601, allocations: 64 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5611, allocations: 403.6 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.5613, allocations: 262.9 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.5619, allocations: 0.6019 MB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.5638, allocations: 1.799 MB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5639, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5639, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.5639, allocations: 4 kB / 1.226 GB, free: 8.273 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.002949/0.5668, allocations: 1.682 MB / 1.227 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5669, allocations: 11.97 kB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.5679, allocations: 215 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.5693, allocations: 0.8906 MB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.5694, allocations: 77.98 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.5695, allocations: 96 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.5713, allocations: 1.035 MB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5713, allocations: 0 / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/0.5714, allocations: 40 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.5715, allocations: 24 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.5735, allocations: 1.171 MB / 1.231 GB, free: 2.906 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.004698/0.5782, allocations: 3.048 MB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5797, allocations: 0.8013 MB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.5802, allocations: 294.7 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/0.5803, allocations: 28.61 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.5814, allocations: 499 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 3.406e-06/0.5814, allocations: 0 / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003212/0.5846, allocations: 1.205 MB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5847, allocations: 188.6 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.586, allocations: 0.7951 MB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.586, allocations: 49.64 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/0.5866, allocations: 0.5039 MB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.5869, allocations: 252.4 kB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/0.5873, allocations: 162.5 kB / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5874, allocations: 341.9 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.5882, allocations: 265.9 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.5889, allocations: 355.1 kB / 1.239 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.5905, allocations: 0.6072 MB / 1.24 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5906, allocations: 3.938 kB / 1.24 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002488/0.5931, allocations: 0.8603 MB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5931, allocations: 4 kB / 1.241 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5931, allocations: 3.938 kB / 1.241 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.5938, allocations: 84.81 kB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.5946, allocations: 159.8 kB / 1.241 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.5978, allocations: 1.534 MB / 1.243 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.5988, allocations: 105.3 kB / 1.243 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5989, allocations: 31.98 kB / 1.243 GB, free: 6.332 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.001164/0.6001, allocations: 299.3 kB / 1.243 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.6005, allocations: 106.6 kB / 1.243 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.6035, allocations: 1.074 MB / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6035, allocations: 8 kB / 1.244 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6036, allocations: 0 / 1.244 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6036, allocations: 3.984 kB / 1.244 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.6053, allocations: 1.006 MB / 1.245 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.6053, allocations: 4 kB / 1.245 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.6059, allocations: 139.8 kB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/0.6065, allocations: 88.77 kB / 1.245 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.6066, allocations: 19.98 kB / 1.245 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.6086, allocations: 1.571 MB / 1.247 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6087, allocations: 0 / 1.247 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.6108, allocations: 0.9432 MB / 1.248 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/0.6113, allocations: 291.5 kB / 1.248 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.6116, allocations: 19.98 kB / 1.248 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.6123, allocations: 59.94 kB / 1.248 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.6125, allocations: 68.89 kB / 1.248 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.6126, allocations: 35.98 kB / 1.248 GB, free: 368 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6267/1.239, allocations: 0.5539 MB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.72e-07/1.239, allocations: 0 / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0019/1.241, allocations: 347.5 kB / 1.249 GB, free: 182.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.001716/1.243, allocations: 0.5996 MB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002185/1.245, allocations: 0.8223 MB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.245, allocations: 0.9688 kB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.246, allocations: 0.5085 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/1.248, allocations: 435 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/1.252, allocations: 2.435 MB / 1.254 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/1.253, allocations: 1.099 MB / 1.255 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001103/1.254, allocations: 294.2 kB / 1.255 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.254, allocations: 105.5 kB / 1.255 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.254, allocations: 0 / 1.255 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03485/1.289, allocations: 16.66 MB / 1.272 GB, free: 177.7 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)