Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_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.001222/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001151/0.001151, allocations: 192.3 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6008, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006914/0.6078, allocations: 5.617 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.755, allocations: 148.6 MB / 1.167 GB, free: 8.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.7562, allocations: 27.81 kB / 1.167 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.7574, allocations: 298.1 kB / 1.168 GB, free: 7.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.7595, allocations: 489.4 kB / 1.168 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.7615, allocations: 0.7537 MB / 1.169 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.7635, allocations: 1.453 MB / 1.17 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.7646, allocations: 0.7394 MB / 1.171 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/0.7653, allocations: 473.9 kB / 1.171 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.7659, allocations: 0.5441 MB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.766, allocations: 64 kB / 1.172 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007306/0.7667, allocations: 403.6 kB / 1.172 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.767, allocations: 266.9 kB / 1.173 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.7675, allocations: 0.5941 MB / 1.173 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.7689, allocations: 1.811 MB / 1.175 GB, free: 160 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7689, allocations: 0 / 1.175 GB, free: 160 kB / 0.92 GB Notification: Performance of FrontEnd: time 7.01e-07/0.7689, allocations: 0 / 1.175 GB, free: 160 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.769, allocations: 0 / 1.175 GB, free: 160 kB / 0.92 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.002596/0.7716, allocations: 1.678 MB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.7716, allocations: 16.02 kB / 1.177 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.7718, allocations: 152.4 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008925/0.7727, allocations: 219 kB / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.7738, allocations: 0.8904 MB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.7739, allocations: 74 kB / 1.178 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.774, allocations: 96 kB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.7756, allocations: 1.028 MB / 1.179 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.7756, allocations: 7.875 kB / 1.179 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.244e-05/0.7757, allocations: 44 kB / 1.179 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.7757, allocations: 24 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.7774, allocations: 1.167 MB / 1.18 GB, free: 10.62 MB / 0.9356 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.003975/0.7814, allocations: 3.052 MB / 1.183 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.7828, allocations: 0.7894 MB / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.7833, allocations: 302.7 kB / 1.184 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.7834, allocations: 32.55 kB / 1.184 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000838/0.7842, allocations: 499 kB / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.7843, allocations: 0 / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.002948/0.7872, allocations: 1.201 MB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.7873, allocations: 192.6 kB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009042/0.7882, allocations: 0.8007 MB / 1.187 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.7883, allocations: 41.7 kB / 1.187 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.7886, allocations: 0.5078 MB / 1.187 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.7888, allocations: 252.4 kB / 1.188 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.789, allocations: 142.5 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7891, allocations: 337.9 kB / 1.188 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.7896, allocations: 245.9 kB / 1.188 GB, free: 2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.7902, allocations: 362.5 kB / 1.189 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.7912, allocations: 0.576 MB / 1.189 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7912, allocations: 3.938 kB / 1.189 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001979/0.7932, allocations: 0.8095 MB / 1.19 GB, free: 212 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.7933, allocations: 8 kB / 1.19 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.7933, allocations: 0 / 1.19 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.7939, allocations: 92.73 kB / 1.19 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.7946, allocations: 147.8 kB / 1.19 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.7966, allocations: 1.54 MB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/0.7975, allocations: 91.31 kB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.7976, allocations: 27.98 kB / 1.192 GB, free: 14.17 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.0006014/0.7982, allocations: 290.3 kB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.7984, allocations: 106.6 kB / 1.192 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.8007, allocations: 1.072 MB / 1.193 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.8008, allocations: 12.08 kB / 1.193 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.8008, allocations: 0 / 1.193 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.8008, allocations: 3.984 kB / 1.193 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.8019, allocations: 1.017 MB / 1.194 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.8019, allocations: 0 / 1.194 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/0.8025, allocations: 139.8 kB / 1.194 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/0.803, allocations: 80.78 kB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.8031, allocations: 27.97 kB / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.8048, allocations: 1.567 MB / 1.196 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8048, allocations: 0 / 1.196 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.8067, allocations: 0.9432 MB / 1.197 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.8071, allocations: 291.5 kB / 1.197 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.8072, allocations: 19.98 kB / 1.197 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.8079, allocations: 63.94 kB / 1.197 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.808, allocations: 72.89 kB / 1.197 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.8081, allocations: 31.98 kB / 1.198 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006535/0.8087, allocations: 0.5581 MB / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8088, allocations: 0 / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000792/0.8095, allocations: 343 kB / 1.198 GB, free: 7.293 MB / 0.9512 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.00327/0.8128, allocations: 2.003 MB / 1.2 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.8143, allocations: 0.7963 MB / 1.201 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8143, allocations: 0 / 1.201 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.8152, allocations: 0.5042 MB / 1.202 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.8167, allocations: 435 kB / 1.202 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.8289, allocations: 7.81 MB / 1.21 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.8295, allocations: 1.094 MB / 1.211 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000881/0.8304, allocations: 291.7 kB / 1.211 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/0.8311, allocations: 471.2 kB / 1.211 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.8311, allocations: 0 / 1.211 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/0.8756, allocations: 24.62 MB / 1.235 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.8758, allocations: 293.2 kB / 1.236 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.326, allocations: 11.62 kB / 1.236 GB, free: 1.094 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)