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.0009934/0.0009934, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005908/0.005908, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 443.4 MB / 0.7176 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 9.719 kB / 0.8797 GB, free: 41.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2389, allocations: 155.2 MB / 1.031 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005592/0.2446, allocations: 5.161 MB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.385, allocations: 147 MB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.3856, allocations: 27.81 kB / 1.18 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.3862, allocations: 290.1 kB / 1.18 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.3875, allocations: 480.5 kB / 1.181 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.3892, allocations: 0.7563 MB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.3905, allocations: 1.457 MB / 1.183 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009153/0.3914, allocations: 0.7277 MB / 1.183 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.3919, allocations: 382 kB / 1.184 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.3924, allocations: 445.3 kB / 1.184 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/0.3925, allocations: 28 kB / 1.184 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.3931, allocations: 371.6 kB / 1.185 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.3933, allocations: 218.8 kB / 1.185 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.3938, allocations: 0.5411 MB / 1.185 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.3953, allocations: 1.748 MB / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3953, allocations: 0 / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3953, allocations: 0 / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.3953, allocations: 0 / 1.187 GB, free: 4.074 MB / 0.9356 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.002161/0.3975, allocations: 1.429 MB / 1.188 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3975, allocations: 12.03 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.3977, allocations: 148.4 kB / 1.189 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008657/0.3986, allocations: 231 kB / 1.189 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3997, allocations: 0.8981 MB / 1.19 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.3997, allocations: 77.98 kB / 1.19 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3999, allocations: 92 kB / 1.19 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.4014, allocations: 1.036 MB / 1.191 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4015, allocations: 0 / 1.191 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4016, allocations: 44.08 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.4016, allocations: 24 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.4034, allocations: 1.179 MB / 1.192 GB, free: 14.76 MB / 0.9512 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.004058/0.4074, allocations: 3.069 MB / 1.195 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.4089, allocations: 0.8171 MB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.4094, allocations: 306.7 kB / 1.196 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.4095, allocations: 28.61 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008195/0.4103, allocations: 499.1 kB / 1.197 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=78): time 2.044e-06/0.4103, allocations: 0 / 1.197 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=78): time 0.002928/0.4132, allocations: 1.221 MB / 1.198 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.4134, allocations: 196.6 kB / 1.198 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.4143, allocations: 0.8046 MB / 1.199 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.4143, allocations: 41.7 kB / 1.199 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.4147, allocations: 0.5078 MB / 1.199 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.4149, allocations: 252.4 kB / 1.2 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.4149, allocations: 57.69 kB / 1.2 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4151, allocations: 341.9 kB / 1.2 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.4155, allocations: 249.9 kB / 1.2 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.4161, allocations: 354.6 kB / 1.201 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.4171, allocations: 0.5916 MB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4171, allocations: 0 / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00173/0.4189, allocations: 0.8251 MB / 1.202 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4189, allocations: 4 kB / 1.202 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4189, allocations: 7.922 kB / 1.202 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.4195, allocations: 88.81 kB / 1.202 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.4201, allocations: 143.8 kB / 1.202 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.422, allocations: 1.54 MB / 1.204 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.4227, allocations: 95.39 kB / 1.204 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.4228, allocations: 35.98 kB / 1.204 GB, free: 2.285 MB / 0.9512 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.0004082/0.4232, allocations: 291.4 kB / 1.204 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.4233, allocations: 106.6 kB / 1.204 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.4257, allocations: 1.083 MB / 1.205 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4257, allocations: 8 kB / 1.205 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4257, allocations: 0 / 1.205 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4257, allocations: 11.98 kB / 1.205 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4268, allocations: 1.017 MB / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4268, allocations: 0 / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.4273, allocations: 143.8 kB / 1.206 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/0.4279, allocations: 84.77 kB / 1.206 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.4279, allocations: 23.98 kB / 1.207 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.4296, allocations: 1.559 MB / 1.208 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4296, allocations: 3.984 kB / 1.208 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.4314, allocations: 0.9511 MB / 1.209 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.4318, allocations: 303.4 kB / 1.209 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4319, allocations: 20 kB / 1.209 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.4326, allocations: 84.44 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.4327, allocations: 64.91 kB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.4328, allocations: 48.03 kB / 1.209 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006505/0.4334, allocations: 0.5581 MB / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4334, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007568/0.4342, allocations: 335 kB / 1.21 GB, free: 11.35 MB / 0.9669 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.003272/0.4375, allocations: 2.006 MB / 1.212 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.439, allocations: 0.8002 MB / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.439, allocations: 0 / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008728/0.4399, allocations: 0.5235 MB / 1.214 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.4415, allocations: 421.3 kB / 1.214 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.4538, allocations: 7.858 MB / 1.222 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.4545, allocations: 1.095 MB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009076/0.4554, allocations: 291.7 kB / 1.223 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.456, allocations: 467.2 kB / 1.223 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.456, allocations: 0 / 1.223 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.4967, allocations: 24.27 MB / 1.247 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.4969, allocations: 298.8 kB / 1.247 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.86, allocations: 0 / 1.247 GB, free: 5.48 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)