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.000913/0.000913, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005613/0.005613, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.337/2.337, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4847, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005111/0.4899, allocations: 5.158 MB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1241/0.614, allocations: 147 MB / 1.172 GB, free: 7.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.6147, allocations: 27.81 kB / 1.172 GB, free: 7.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.6154, allocations: 302.1 kB / 1.172 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.6169, allocations: 485.5 kB / 1.172 GB, free: 6.328 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.6185, allocations: 0.7519 MB / 1.173 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.6199, allocations: 1.449 MB / 1.175 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009154/0.6208, allocations: 0.7277 MB / 1.175 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.6213, allocations: 390 kB / 1.176 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.6218, allocations: 449.3 kB / 1.176 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.6219, allocations: 28 kB / 1.176 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006249/0.6226, allocations: 367.6 kB / 1.177 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.6227, allocations: 210.9 kB / 1.177 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.6232, allocations: 0.5489 MB / 1.177 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.6245, allocations: 1.748 MB / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6246, allocations: 0 / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6246, allocations: 0 / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.6246, allocations: 4 kB / 1.179 GB, free: 15.63 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.001992/0.6266, allocations: 1.425 MB / 1.18 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.6266, allocations: 8.031 kB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.6268, allocations: 156.4 kB / 1.181 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/0.6276, allocations: 227.1 kB / 1.181 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6286, allocations: 0.8903 MB / 1.182 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.6287, allocations: 74 kB / 1.182 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6288, allocations: 96 kB / 1.182 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6303, allocations: 1.036 MB / 1.183 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.6303, allocations: 0 / 1.183 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/0.6304, allocations: 40 kB / 1.183 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.6304, allocations: 24 kB / 1.183 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.6321, allocations: 1.182 MB / 1.184 GB, free: 10.34 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.003639/0.6357, allocations: 3.088 MB / 1.187 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.637, allocations: 0.7933 MB / 1.188 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.6375, allocations: 302.7 kB / 1.188 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.6376, allocations: 36.59 kB / 1.188 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/0.6383, allocations: 499.1 kB / 1.189 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 1.713e-06/0.6383, allocations: 0 / 1.189 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.00272/0.6411, allocations: 1.221 MB / 1.19 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.6411, allocations: 192.6 kB / 1.19 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.642, allocations: 0.8007 MB / 1.191 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.6421, allocations: 37.7 kB / 1.191 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.6424, allocations: 0.5117 MB / 1.191 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.6426, allocations: 248.4 kB / 1.191 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.6426, allocations: 61.62 kB / 1.192 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.6427, allocations: 341.9 kB / 1.192 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.6432, allocations: 249.9 kB / 1.192 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.6437, allocations: 354.6 kB / 1.192 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.6447, allocations: 0.5877 MB / 1.193 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6447, allocations: 4 kB / 1.193 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00163/0.6463, allocations: 0.8251 MB / 1.194 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6464, allocations: 4 kB / 1.194 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6464, allocations: 4 kB / 1.194 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.6469, allocations: 84.81 kB / 1.194 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.6475, allocations: 147.8 kB / 1.194 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.6492, allocations: 1.557 MB / 1.196 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.6498, allocations: 102.2 kB / 1.196 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.6499, allocations: 31.98 kB / 1.196 GB, free: 13.86 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.0003456/0.6503, allocations: 281.7 kB / 1.196 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6504, allocations: 110.6 kB / 1.196 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.6525, allocations: 1.087 MB / 1.197 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.6526, allocations: 12 kB / 1.197 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6526, allocations: 0 / 1.197 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.6526, allocations: 7.969 kB / 1.197 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.6535, allocations: 1.013 MB / 1.198 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6535, allocations: 0 / 1.198 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.6541, allocations: 139.8 kB / 1.198 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/0.6546, allocations: 88.77 kB / 1.198 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.6546, allocations: 23.98 kB / 1.198 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.6562, allocations: 1.559 MB / 1.2 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6562, allocations: 3.984 kB / 1.2 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6579, allocations: 0.9472 MB / 1.201 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.6583, allocations: 307.4 kB / 1.201 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.6584, allocations: 20 kB / 1.201 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.659, allocations: 87.86 kB / 1.201 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6591, allocations: 64.91 kB / 1.201 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.6592, allocations: 35.97 kB / 1.201 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006127/0.6598, allocations: 0.562 MB / 1.202 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6598, allocations: 0 / 1.202 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000677/0.6605, allocations: 339 kB / 1.202 GB, free: 6.926 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.003081/0.6636, allocations: 2.014 MB / 1.204 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.665, allocations: 0.7924 MB / 1.205 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.665, allocations: 4 kB / 1.205 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.6658, allocations: 0.5159 MB / 1.205 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.6674, allocations: 436.5 kB / 1.206 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.6786, allocations: 7.842 MB / 1.214 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.6792, allocations: 1.102 MB / 1.215 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007644/0.68, allocations: 287.8 kB / 1.215 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/0.6806, allocations: 463.2 kB / 1.215 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.6806, allocations: 0 / 1.215 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.661/4.342, allocations: 24.27 MB / 1.239 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/4.342, allocations: 290.1 kB / 1.239 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/6.67, allocations: 3.938 kB / 1.239 GB, free: 1.059 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)