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.005324/0.005324, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001266/0.001266, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.439/2.439, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 63.89 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6109, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00648/0.6174, allocations: 5.604 MB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1463/0.7637, allocations: 150.9 MB / 1.373 GB, free: 4.957 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.7645, allocations: 23.88 kB / 1.373 GB, free: 4.934 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.7652, allocations: 365.3 kB / 1.373 GB, free: 4.574 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.7665, allocations: 0.5636 MB / 1.374 GB, free: 4.012 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.7682, allocations: 0.884 MB / 1.375 GB, free: 3.133 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.7695, allocations: 1.558 MB / 1.376 GB, free: 1.57 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008926/0.7704, allocations: 0.7662 MB / 1.377 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.7709, allocations: 0.537 MB / 1.378 GB, free: 228 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.7714, allocations: 0.5715 MB / 1.378 GB, free: 15.65 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.7716, allocations: 132 kB / 1.378 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006748/0.7723, allocations: 499.6 kB / 1.379 GB, free: 15.03 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.7726, allocations: 338.8 kB / 1.379 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.7731, allocations: 0.6566 MB / 1.38 GB, free: 14.04 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.7748, allocations: 1.931 MB / 1.382 GB, free: 12.1 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7748, allocations: 4 kB / 1.382 GB, free: 12.1 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7748, allocations: 0 / 1.382 GB, free: 12.1 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.7749, allocations: 0 / 1.382 GB, free: 12.1 MB / 1.107 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.002309/0.7772, allocations: 1.731 MB / 1.383 GB, free: 10.31 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.7772, allocations: 8.031 kB / 1.383 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.7774, allocations: 156.4 kB / 1.383 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/0.7782, allocations: 223.8 kB / 1.384 GB, free: 9.926 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.7794, allocations: 0.9224 MB / 1.385 GB, free: 8.961 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.7795, allocations: 77.98 kB / 1.385 GB, free: 8.887 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.7796, allocations: 96 kB / 1.385 GB, free: 8.793 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.7811, allocations: 1.028 MB / 1.386 GB, free: 7.723 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7811, allocations: 4 kB / 1.386 GB, free: 7.719 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.7812, allocations: 40 kB / 1.386 GB, free: 7.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.7812, allocations: 24 kB / 1.386 GB, free: 7.656 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.783, allocations: 1.167 MB / 1.387 GB, free: 6.488 MB / 1.107 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.003744/0.7867, allocations: 3.018 MB / 1.39 GB, free: 3.352 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.7881, allocations: 0.7977 MB / 1.391 GB, free: 2.551 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.7886, allocations: 302.6 kB / 1.391 GB, free: 2.246 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.369e-05/0.7887, allocations: 28.62 kB / 1.391 GB, free: 2.219 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007709/0.7894, allocations: 499.2 kB / 1.391 GB, free: 1.711 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 1.813e-06/0.7895, allocations: 0 / 1.391 GB, free: 1.711 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.002817/0.7923, allocations: 1.214 MB / 1.393 GB, free: 484 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.7924, allocations: 188.6 kB / 1.393 GB, free: 252 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/0.7933, allocations: 0.8007 MB / 1.394 GB, free: 15.42 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.7933, allocations: 45.7 kB / 1.394 GB, free: 15.37 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.7937, allocations: 0.5203 MB / 1.394 GB, free: 14.84 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.7939, allocations: 261.8 kB / 1.394 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.7941, allocations: 146.6 kB / 1.395 GB, free: 14.43 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7943, allocations: 337.9 kB / 1.395 GB, free: 14.1 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.7947, allocations: 241.9 kB / 1.395 GB, free: 13.86 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.7953, allocations: 358.5 kB / 1.395 GB, free: 13.48 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.7963, allocations: 0.576 MB / 1.396 GB, free: 12.89 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7963, allocations: 3.984 kB / 1.396 GB, free: 12.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001689/0.798, allocations: 0.8178 MB / 1.397 GB, free: 12.07 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.798, allocations: 4 kB / 1.397 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.798, allocations: 4 kB / 1.397 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.7986, allocations: 88.8 kB / 1.397 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.7991, allocations: 143.8 kB / 1.397 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.801, allocations: 1.65 MB / 1.399 GB, free: 10.03 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.8016, allocations: 91.45 kB / 1.399 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.8016, allocations: 27.98 kB / 1.399 GB, free: 9.914 MB / 1.123 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.0003581/0.802, allocations: 293.6 kB / 1.399 GB, free: 9.617 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.8021, allocations: 107.3 kB / 1.399 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.8043, allocations: 1.072 MB / 1.4 GB, free: 8.434 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.8043, allocations: 11.94 kB / 1.4 GB, free: 8.422 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.8043, allocations: 0 / 1.4 GB, free: 8.422 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.8043, allocations: 7.984 kB / 1.4 GB, free: 8.414 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.8053, allocations: 1.001 MB / 1.401 GB, free: 7.359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8054, allocations: 3.938 kB / 1.401 GB, free: 7.355 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.8059, allocations: 139.8 kB / 1.401 GB, free: 7.219 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004032/0.8063, allocations: 80.8 kB / 1.401 GB, free: 7.137 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.8063, allocations: 27.95 kB / 1.401 GB, free: 7.109 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.8081, allocations: 1.686 MB / 1.403 GB, free: 5.277 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8081, allocations: 3.938 kB / 1.403 GB, free: 5.273 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.8099, allocations: 0.94 MB / 1.404 GB, free: 4.312 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.8102, allocations: 300 kB / 1.404 GB, free: 4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.8104, allocations: 16 kB / 1.404 GB, free: 3.984 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.8109, allocations: 69.8 kB / 1.404 GB, free: 3.918 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.811, allocations: 72.78 kB / 1.404 GB, free: 3.848 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.8111, allocations: 35.98 kB / 1.404 GB, free: 3.812 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006357/0.8118, allocations: 0.5581 MB / 1.405 GB, free: 3.242 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8118, allocations: 0 / 1.405 GB, free: 3.242 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006327/0.8124, allocations: 347 kB / 1.405 GB, free: 2.902 MB / 1.123 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.003619/0.816, allocations: 1.997 MB / 1.407 GB, free: 1.055 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.8174, allocations: 0.7885 MB / 1.408 GB, free: 260 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8175, allocations: 0 / 1.408 GB, free: 260 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.8183, allocations: 0.5197 MB / 1.409 GB, free: 15.72 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.8198, allocations: 476.2 kB / 1.409 GB, free: 15.29 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/0.8294, allocations: 6.996 MB / 1.416 GB, free: 8.148 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.8301, allocations: 1.108 MB / 1.417 GB, free: 7.012 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006896/0.8308, allocations: 283.8 kB / 1.417 GB, free: 6.73 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/0.8314, allocations: 463.2 kB / 1.418 GB, free: 6.277 MB / 1.139 GB Notification: Performance of SimCode: time 2.61e-07/0.8314, allocations: 0 / 1.418 GB, free: 6.277 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.24/14.07, allocations: 25.8 MB / 1.443 GB, free: 12.79 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.13/33.2, allocations: 6.578 kB / 1.443 GB, free: 12.78 MB / 1.17 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)