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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002289/0.002289, 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.003688/0.003688, allocations: 192.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.208/3.208, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.159/6.159, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 63.69 kB / 0.8987 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4917, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01297/0.5047, allocations: 5.599 MB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2904/0.7952, allocations: 148.7 MB / 1.203 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.7968, allocations: 23.88 kB / 1.203 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.7985, allocations: 310.1 kB / 1.203 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.8022, allocations: 0.4964 MB / 1.204 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004057/0.8062, allocations: 0.7744 MB / 1.205 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003733/0.81, allocations: 1.554 MB / 1.206 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.8124, allocations: 0.7635 MB / 1.207 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.8138, allocations: 0.5332 MB / 1.207 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.8151, allocations: 0.5754 MB / 1.208 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.8156, allocations: 128 kB / 1.208 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.8171, allocations: 475.6 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.8177, allocations: 334.8 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.8191, allocations: 0.6683 MB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.823, allocations: 1.865 MB / 1.211 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.823, allocations: 0 / 1.211 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.823, allocations: 0 / 1.211 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.984e-05/0.8231, allocations: 0 / 1.211 GB, free: 5.32 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.005969/0.8291, allocations: 1.684 MB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.8291, allocations: 8.625 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003997/0.8296, allocations: 156.4 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.8315, allocations: 215 kB / 1.213 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.8344, allocations: 0.8943 MB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.8346, allocations: 74 kB / 1.214 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.8349, allocations: 96 kB / 1.214 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.8387, allocations: 1.035 MB / 1.215 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.8388, allocations: 7.922 kB / 1.215 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.839, allocations: 40 kB / 1.215 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/0.839, allocations: 24 kB / 1.215 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/0.8439, allocations: 1.167 MB / 1.217 GB, free: 15.79 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.01059/0.8545, allocations: 3.048 MB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.8579, allocations: 0.7941 MB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.859, allocations: 302.6 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.8593, allocations: 36.59 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.8611, allocations: 491.1 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 9.778e-06/0.8611, allocations: 3.984 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.00584/0.867, allocations: 1.213 MB / 1.222 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.8672, allocations: 192.6 kB / 1.223 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.8693, allocations: 0.7968 MB / 1.223 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.8695, allocations: 41.7 kB / 1.223 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007591/0.8703, allocations: 0.5116 MB / 1.224 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/0.8708, allocations: 260.3 kB / 1.224 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/0.8712, allocations: 138.6 kB / 1.224 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.8714, allocations: 337.9 kB / 1.225 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009588/0.8724, allocations: 253.8 kB / 1.225 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.8736, allocations: 354.5 kB / 1.225 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.8757, allocations: 0.5838 MB / 1.226 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8757, allocations: 0 / 1.226 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003702/0.8794, allocations: 0.8134 MB / 1.226 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.8795, allocations: 4 kB / 1.226 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.8795, allocations: 0 / 1.226 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.8806, allocations: 88.75 kB / 1.227 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.8818, allocations: 147.8 kB / 1.227 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.8856, allocations: 1.635 MB / 1.228 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.8872, allocations: 101 kB / 1.228 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.8874, allocations: 27.98 kB / 1.228 GB, free: 3.203 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.001069/0.8885, allocations: 295.3 kB / 1.229 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/0.889, allocations: 102.8 kB / 1.229 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/0.8938, allocations: 1.075 MB / 1.23 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.8939, allocations: 19.94 kB / 1.23 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8939, allocations: 4 kB / 1.23 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.8939, allocations: 3.984 kB / 1.23 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.8963, allocations: 1.006 MB / 1.231 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.8964, allocations: 0 / 1.231 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.8976, allocations: 139.8 kB / 1.231 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008777/0.8985, allocations: 68.8 kB / 1.231 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.8986, allocations: 27.97 kB / 1.231 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/0.9021, allocations: 1.678 MB / 1.233 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9022, allocations: 0 / 1.233 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.9064, allocations: 0.9432 MB / 1.234 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008818/0.9073, allocations: 291.5 kB / 1.234 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.9077, allocations: 20 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.9091, allocations: 67.92 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.9094, allocations: 68.84 kB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.9096, allocations: 35.98 kB / 1.234 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001776/0.9114, allocations: 0.5542 MB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.62e-07/0.9114, allocations: 3.938 kB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002001/0.9134, allocations: 346.9 kB / 1.235 GB, free: 12.21 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.00704/0.9205, allocations: 1.984 MB / 1.237 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004521/0.9251, allocations: 0.9953 MB / 1.238 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.9251, allocations: 3.984 kB / 1.238 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.9269, allocations: 0.5158 MB / 1.238 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/0.9306, allocations: 470 kB / 1.239 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/0.9574, allocations: 7.805 MB / 1.246 GB, free: 348 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8657/1.823, allocations: 1.095 MB / 1.248 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00236/1.826, allocations: 284.9 kB / 1.248 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/1.827, allocations: 467.7 kB / 1.248 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.048e-06/1.827, allocations: 0 / 1.248 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/2.002, allocations: 25.29 MB / 1.273 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/2.003, allocations: 300 kB / 1.273 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.331/7.334, allocations: 1.188 kB / 1.273 GB, free: 185.2 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)