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.00109/0.00109, 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.001076/0.001076, allocations: 197.7 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.7 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.253, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006443/0.2595, allocations: 5.62 MB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.14/0.3995, allocations: 150.9 MB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009593/0.4005, allocations: 27.81 kB / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009279/0.4015, allocations: 361.3 kB / 1.206 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.4034, allocations: 0.5583 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.4053, allocations: 0.8688 MB / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.4068, allocations: 1.55 MB / 1.209 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009322/0.4077, allocations: 0.7596 MB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.4083, allocations: 0.5371 MB / 1.21 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.4088, allocations: 0.5715 MB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.409, allocations: 132 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.4097, allocations: 475.6 kB / 1.211 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.41, allocations: 334.8 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.4104, allocations: 0.6683 MB / 1.212 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.4119, allocations: 1.861 MB / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4119, allocations: 0 / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4119, allocations: 0 / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.4119, allocations: 0 / 1.214 GB, free: 2.383 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.002242/0.4142, allocations: 1.686 MB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4142, allocations: 8.625 kB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.4144, allocations: 156.4 kB / 1.216 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/0.4153, allocations: 215 kB / 1.216 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.4163, allocations: 0.8943 MB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.4164, allocations: 70 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4165, allocations: 96 kB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.418, allocations: 1.032 MB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.418, allocations: 3.938 kB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.4181, allocations: 43.98 kB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.4181, allocations: 27.98 kB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.4198, allocations: 1.163 MB / 1.219 GB, free: 12.86 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.003687/0.4235, allocations: 3.056 MB / 1.222 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4248, allocations: 0.7935 MB / 1.223 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.4253, allocations: 302.6 kB / 1.224 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.685e-05/0.4254, allocations: 32.61 kB / 1.224 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007324/0.4261, allocations: 0.4909 MB / 1.224 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 1.964e-06/0.4261, allocations: 4 kB / 1.224 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.002812/0.4289, allocations: 1.194 MB / 1.225 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.429, allocations: 204.6 kB / 1.225 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.4298, allocations: 0.7929 MB / 1.226 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.4299, allocations: 41.7 kB / 1.226 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.4302, allocations: 0.5155 MB / 1.227 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.4304, allocations: 256.3 kB / 1.227 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.4306, allocations: 134.6 kB / 1.227 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.4307, allocations: 333.9 kB / 1.227 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.4312, allocations: 253.9 kB / 1.228 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/0.4317, allocations: 350.6 kB / 1.228 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.4327, allocations: 0.5799 MB / 1.229 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4327, allocations: 3.938 kB / 1.229 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00171/0.4344, allocations: 0.8172 MB / 1.229 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4345, allocations: 5.094 kB / 1.229 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4345, allocations: 0 / 1.229 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.435, allocations: 92.78 kB / 1.229 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.4356, allocations: 151.8 kB / 1.23 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.4374, allocations: 1.641 MB / 1.231 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.438, allocations: 92.98 kB / 1.231 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.4381, allocations: 27.98 kB / 1.231 GB, free: 280 kB / 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.0003521/0.4384, allocations: 293.9 kB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.4386, allocations: 110.7 kB / 1.232 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.4408, allocations: 1.071 MB / 1.233 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4408, allocations: 15.94 kB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4408, allocations: 0 / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4409, allocations: 3.984 kB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009347/0.4418, allocations: 1.002 MB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4418, allocations: 0 / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.4423, allocations: 143.8 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/0.4428, allocations: 72.78 kB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.4428, allocations: 23.98 kB / 1.234 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.4445, allocations: 1.678 MB / 1.236 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4445, allocations: 0 / 1.236 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.4463, allocations: 0.951 MB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.4466, allocations: 287.5 kB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.4467, allocations: 16 kB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.4473, allocations: 67.92 kB / 1.237 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.4475, allocations: 76.78 kB / 1.237 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.4475, allocations: 35.91 kB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005953/0.4481, allocations: 0.5581 MB / 1.238 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4481, allocations: 4 kB / 1.238 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006848/0.4488, allocations: 339 kB / 1.238 GB, free: 9.281 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.003289/0.4521, allocations: 1.989 MB / 1.24 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002/0.4541, allocations: 0.9798 MB / 1.241 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4541, allocations: 0 / 1.241 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000847/0.455, allocations: 0.5119 MB / 1.241 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.4565, allocations: 474.8 kB / 1.242 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3821/0.8386, allocations: 7.335 MB / 1.249 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.8391, allocations: 1.102 MB / 1.25 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008757/0.84, allocations: 284 kB / 1.25 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.8405, allocations: 466.7 kB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.8405, allocations: 4.312 kB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5414/1.382, allocations: 25.49 MB / 1.276 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/13.15, allocations: 5.281 kB / 1.276 GB, free: 183.5 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)