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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001289/0.001289, allocations: 195.8 kB / 16.14 MB, free: 6.699 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.48 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006297/0.2593, allocations: 5.603 MB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.394, allocations: 148.6 MB / 1.203 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.3951, allocations: 23.88 kB / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.3959, allocations: 306 kB / 1.203 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.3972, allocations: 480.7 kB / 1.204 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.3988, allocations: 0.7596 MB / 1.204 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.3999, allocations: 1.457 MB / 1.206 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008574/0.4008, allocations: 0.7355 MB / 1.206 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.4012, allocations: 474 kB / 1.207 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.4017, allocations: 0.5324 MB / 1.207 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.4018, allocations: 67.94 kB / 1.207 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.4025, allocations: 403.6 kB / 1.208 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.4027, allocations: 270.9 kB / 1.208 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.4031, allocations: 0.5941 MB / 1.209 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.4045, allocations: 1.811 MB / 1.21 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4045, allocations: 0 / 1.21 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.22e-07/0.4045, allocations: 0 / 1.21 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.4046, allocations: 4 kB / 1.21 GB, free: 5.562 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.002419/0.407, allocations: 1.678 MB / 1.212 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.407, allocations: 11.97 kB / 1.212 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.4072, allocations: 152.4 kB / 1.212 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.4081, allocations: 223 kB / 1.212 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.4092, allocations: 0.8904 MB / 1.213 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.4092, allocations: 77.98 kB / 1.213 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4093, allocations: 96 kB / 1.213 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4109, allocations: 1.035 MB / 1.214 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4109, allocations: 0 / 1.214 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/0.411, allocations: 44 kB / 1.215 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.411, allocations: 24 kB / 1.215 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.4127, allocations: 1.171 MB / 1.216 GB, free: 24 kB / 0.9669 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.003774/0.4165, allocations: 3.04 MB / 1.219 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.4179, allocations: 0.8013 MB / 1.219 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.4184, allocations: 298.7 kB / 1.22 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-05/0.4184, allocations: 24.61 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008019/0.4192, allocations: 499.1 kB / 1.22 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 3.166e-06/0.4193, allocations: 0 / 1.22 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.002868/0.4221, allocations: 1.209 MB / 1.221 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.4222, allocations: 188.6 kB / 1.222 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/0.4231, allocations: 0.8007 MB / 1.222 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.4231, allocations: 41.7 kB / 1.222 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.4235, allocations: 0.5116 MB / 1.223 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.4236, allocations: 252.3 kB / 1.223 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.4238, allocations: 142.6 kB / 1.223 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.4239, allocations: 341.8 kB / 1.224 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.4244, allocations: 249.8 kB / 1.224 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.4249, allocations: 350.6 kB / 1.224 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.4259, allocations: 0.5799 MB / 1.225 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4259, allocations: 0 / 1.225 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001727/0.4277, allocations: 0.8172 MB / 1.226 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4277, allocations: 8 kB / 1.226 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4277, allocations: 0 / 1.226 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.4283, allocations: 84.81 kB / 1.226 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.4289, allocations: 147.8 kB / 1.226 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4307, allocations: 1.536 MB / 1.227 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.4314, allocations: 94.83 kB / 1.227 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.4314, allocations: 35.97 kB / 1.227 GB, free: 3.562 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.0003532/0.4318, allocations: 289.8 kB / 1.228 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.4319, allocations: 106.6 kB / 1.228 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.4342, allocations: 1.075 MB / 1.229 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4342, allocations: 8 kB / 1.229 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4342, allocations: 0 / 1.229 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.4342, allocations: 7.984 kB / 1.229 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009999/0.4352, allocations: 1.009 MB / 1.23 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4353, allocations: 4 kB / 1.23 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.4358, allocations: 135.8 kB / 1.23 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.4363, allocations: 88.7 kB / 1.23 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.4364, allocations: 23.98 kB / 1.23 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.4381, allocations: 1.563 MB / 1.232 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4381, allocations: 0 / 1.232 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.4399, allocations: 0.9472 MB / 1.233 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.4402, allocations: 291.5 kB / 1.233 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.4404, allocations: 20 kB / 1.233 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.441, allocations: 63.92 kB / 1.233 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4411, allocations: 64.91 kB / 1.233 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.4412, allocations: 35.97 kB / 1.233 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006239/0.4418, allocations: 0.5581 MB / 1.234 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4418, allocations: 4 kB / 1.234 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007219/0.4426, allocations: 342.9 kB / 1.234 GB, free: 12.68 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.003171/0.4457, allocations: 1.993 MB / 1.236 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.4472, allocations: 0.7883 MB / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4472, allocations: 0 / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.4481, allocations: 0.5161 MB / 1.237 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.4495, allocations: 433 kB / 1.237 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.4613, allocations: 7.801 MB / 1.245 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3827/0.8439, allocations: 1.094 MB / 1.246 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001128/0.8451, allocations: 290 kB / 1.246 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.8457, allocations: 465.9 kB / 1.247 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.8458, allocations: 0 / 1.247 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.8875, allocations: 24.62 MB / 1.271 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.8877, allocations: 304.8 kB / 1.271 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.2, allocations: 4 kB / 1.271 GB, free: 184.8 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)