Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.0008982, allocations: 91.3 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.005833/0.005833, allocations: 172.4 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 9.625 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2633, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005291/0.2686, allocations: 5.156 MB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1398/0.4085, allocations: 147 MB / 1.207 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008221/0.4093, allocations: 19.88 kB / 1.207 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.4101, allocations: 302.1 kB / 1.208 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.4117, allocations: 478.6 kB / 1.208 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.4134, allocations: 0.763 MB / 1.209 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.4148, allocations: 1.453 MB / 1.21 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008804/0.4157, allocations: 0.7237 MB / 1.211 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.4161, allocations: 390 kB / 1.211 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.4166, allocations: 445.3 kB / 1.212 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.4167, allocations: 28 kB / 1.212 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.4173, allocations: 367.6 kB / 1.212 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.4175, allocations: 210.9 kB / 1.212 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.4179, allocations: 0.5528 MB / 1.213 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.4193, allocations: 1.752 MB / 1.215 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4193, allocations: 4 kB / 1.215 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4193, allocations: 0 / 1.215 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.4193, allocations: 0 / 1.215 GB, free: 4.68 MB / 0.9669 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.002206/0.4216, allocations: 1.421 MB / 1.216 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4216, allocations: 11.97 kB / 1.216 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.4218, allocations: 156.4 kB / 1.216 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.4226, allocations: 223 kB / 1.216 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.4237, allocations: 0.8942 MB / 1.217 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.4238, allocations: 74 kB / 1.217 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4239, allocations: 96 kB / 1.217 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4255, allocations: 1.039 MB / 1.218 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4256, allocations: 3.938 kB / 1.218 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.4256, allocations: 36 kB / 1.218 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.4257, allocations: 28 kB / 1.218 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.4274, allocations: 1.179 MB / 1.22 GB, free: 15.38 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.003939/0.4313, allocations: 3.075 MB / 1.223 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.4327, allocations: 0.813 MB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.4332, allocations: 298.7 kB / 1.224 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.4333, allocations: 32.61 kB / 1.224 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/0.4341, allocations: 495.2 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.4341, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.002866/0.437, allocations: 1.225 MB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.4371, allocations: 188.6 kB / 1.226 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009344/0.4381, allocations: 0.8046 MB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.4381, allocations: 41.7 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.4385, allocations: 0.5116 MB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.4387, allocations: 248.4 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.4388, allocations: 61.69 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4389, allocations: 333.9 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.4394, allocations: 249.9 kB / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.4399, allocations: 366.5 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009927/0.4409, allocations: 0.5838 MB / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.441, allocations: 0 / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001709/0.4427, allocations: 0.8251 MB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4427, allocations: 4 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4427, allocations: 4 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.4433, allocations: 92.73 kB / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.4439, allocations: 151.8 kB / 1.23 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.4457, allocations: 1.545 MB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.4464, allocations: 99.39 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.4465, allocations: 23.98 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.0003996/0.4469, allocations: 289.6 kB / 1.232 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.447, allocations: 106.6 kB / 1.232 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.4493, allocations: 1.087 MB / 1.233 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4493, allocations: 12 kB / 1.233 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4493, allocations: 0 / 1.233 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.4493, allocations: 7.984 kB / 1.233 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4504, allocations: 1.009 MB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4504, allocations: 0 / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.4509, allocations: 139.8 kB / 1.234 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.4514, allocations: 88.77 kB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.4515, allocations: 23.98 kB / 1.234 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.4532, allocations: 1.567 MB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4533, allocations: 0 / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.4551, allocations: 0.9472 MB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.4554, allocations: 307.4 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4555, allocations: 16 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.4562, allocations: 88.45 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.4563, allocations: 72.91 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.4564, allocations: 35.97 kB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006545/0.4571, allocations: 0.562 MB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4571, allocations: 0 / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000733/0.4578, allocations: 335 kB / 1.238 GB, free: 11.97 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.003183/0.461, allocations: 2.003 MB / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.4625, allocations: 0.7963 MB / 1.241 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4625, allocations: 0 / 1.241 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/0.4633, allocations: 0.5236 MB / 1.241 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4649, allocations: 425.9 kB / 1.242 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.4767, allocations: 7.853 MB / 1.249 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4304/0.907, allocations: 1.092 MB / 1.25 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001014/0.9081, allocations: 282.2 kB / 1.251 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.9087, allocations: 469.5 kB / 1.251 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/0.9087, allocations: 0 / 1.251 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/0.9519, allocations: 24.28 MB / 1.275 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.952, allocations: 307.4 kB / 1.275 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.46, allocations: 0 / 1.275 GB, free: 181.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)