Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_11_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.001435/0.001436, allocations: 108 kB / 15.61 MB, free: 152 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.001423/0.001423, allocations: 195.8 kB / 16.53 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.297/1.297, 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.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 64.92 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2464, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006977/0.2534, allocations: 5.618 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1544/0.4078, allocations: 150.9 MB / 1.217 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008168/0.4086, allocations: 27.81 kB / 1.217 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.4094, allocations: 353.4 kB / 1.217 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.4109, allocations: 0.5708 MB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.4127, allocations: 0.8673 MB / 1.219 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.4142, allocations: 1.554 MB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.4152, allocations: 0.7597 MB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.4158, allocations: 0.5332 MB / 1.221 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.4164, allocations: 0.5714 MB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.4166, allocations: 132 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.4174, allocations: 471.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.4177, allocations: 338.8 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.4182, allocations: 0.6644 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.42, allocations: 1.861 MB / 1.225 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.42, allocations: 4 kB / 1.225 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.42, allocations: 0 / 1.225 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.42, allocations: 0 / 1.225 GB, free: 8.359 MB / 0.9825 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.002501/0.4225, allocations: 1.682 MB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4226, allocations: 15.95 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.4227, allocations: 152.4 kB / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.4236, allocations: 222.9 kB / 1.227 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4248, allocations: 0.8905 MB / 1.228 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.4248, allocations: 78 kB / 1.228 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.425, allocations: 99.94 kB / 1.228 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.4266, allocations: 1.028 MB / 1.229 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.4266, allocations: 0 / 1.229 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.4267, allocations: 44 kB / 1.229 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.4267, allocations: 24 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.4285, allocations: 1.171 MB / 1.231 GB, free: 2.816 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.004048/0.4325, allocations: 3.044 MB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.434, allocations: 0.7974 MB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.4345, allocations: 298.7 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.4346, allocations: 32.59 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008578/0.4354, allocations: 499 kB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 1.893e-06/0.4355, allocations: 0 / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.00298/0.4384, allocations: 1.201 MB / 1.236 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4386, allocations: 192.6 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.4396, allocations: 0.8007 MB / 1.237 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.4397, allocations: 41.7 kB / 1.237 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.4401, allocations: 0.5117 MB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.4404, allocations: 256.2 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.4406, allocations: 150.5 kB / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4407, allocations: 333.9 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.4412, allocations: 249.9 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.4419, allocations: 350.6 kB / 1.239 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.443, allocations: 0.5799 MB / 1.24 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.443, allocations: 0 / 1.24 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001765/0.4447, allocations: 0.8095 MB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4448, allocations: 8.094 kB / 1.241 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4448, allocations: 0 / 1.241 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.4453, allocations: 88.7 kB / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.4459, allocations: 143.8 kB / 1.241 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.448, allocations: 1.651 MB / 1.242 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.4486, allocations: 92.95 kB / 1.242 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.4486, allocations: 31.92 kB / 1.242 GB, free: 6.25 MB / 0.9981 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.0004077/0.4491, allocations: 297.6 kB / 1.243 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.4492, allocations: 98.78 kB / 1.243 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.4515, allocations: 1.075 MB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.4515, allocations: 11.94 kB / 1.244 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4515, allocations: 0 / 1.244 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4516, allocations: 3.984 kB / 1.244 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4527, allocations: 1.006 MB / 1.245 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4527, allocations: 0 / 1.245 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.4532, allocations: 139.8 kB / 1.245 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/0.4536, allocations: 76.78 kB / 1.245 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.4537, allocations: 19.98 kB / 1.245 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.4556, allocations: 1.685 MB / 1.247 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4556, allocations: 0 / 1.247 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.4574, allocations: 0.9472 MB / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.4578, allocations: 287.5 kB / 1.248 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4579, allocations: 20 kB / 1.248 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.4585, allocations: 59.92 kB / 1.248 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4586, allocations: 76.78 kB / 1.248 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.4587, allocations: 35.97 kB / 1.248 GB, free: 176 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.388/0.8467, allocations: 0.5586 MB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.01e-07/0.8467, allocations: 0 / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00103/0.8477, allocations: 339.2 kB / 1.249 GB, free: 185.5 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.003606/0.8514, allocations: 1.99 MB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.8535, allocations: 0.9921 MB / 1.252 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8536, allocations: 0.9688 kB / 1.252 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.8544, allocations: 0.5065 MB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.856, allocations: 479 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/0.8648, allocations: 7.342 MB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.8652, allocations: 1.098 MB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008337/0.8661, allocations: 296.7 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.8666, allocations: 463.9 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.8666, allocations: 0 / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.144/5.011, allocations: 25.49 MB / 1.287 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/23.76, allocations: 9.062 kB / 1.287 GB, free: 173.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)