Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_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.006688/0.006688, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.001468/0.001468, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002458/0.002458, allocations: 288.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.225/1.225, allocations: 178.5 MB / 0.5074 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 96.06 kB / 0.6943 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4539, allocations: 89.12 MB / 0.7813 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007178/0.4611, allocations: 5.62 MB / 0.7868 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1698/0.6309, allocations: 150.9 MB / 0.9342 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.632, allocations: 27.81 kB / 0.9342 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008404/0.6329, allocations: 357.3 kB / 0.9345 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.6348, allocations: 0.5688 MB / 0.9351 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.6367, allocations: 0.8737 MB / 0.9359 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.6385, allocations: 1.562 MB / 0.9375 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.6395, allocations: 0.7592 MB / 0.9382 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.6402, allocations: 0.5409 MB / 0.9387 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006312/0.6408, allocations: 0.5701 MB / 0.9393 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.641, allocations: 132 kB / 0.9394 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009192/0.6419, allocations: 0.4918 MB / 0.9399 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003052/0.6422, allocations: 338.8 kB / 0.9402 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005721/0.6428, allocations: 0.6606 MB / 0.9409 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.645, allocations: 1.926 MB / 0.9427 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.645, allocations: 4 kB / 0.9427 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.302e-06/0.645, allocations: 0 / 0.9427 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.6451, allocations: 0 / 0.9427 GB, free: 2.84 MB / 0.7012 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.002731/0.6478, allocations: 1.727 MB / 0.9444 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6478, allocations: 8.031 kB / 0.9444 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.648, allocations: 156.4 kB / 0.9446 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.649, allocations: 227.9 kB / 0.9448 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.6503, allocations: 0.9187 MB / 0.9457 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.6504, allocations: 70 kB / 0.9458 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6505, allocations: 96 kB / 0.9459 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.6523, allocations: 1.035 MB / 0.9469 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.6524, allocations: 0 / 0.9469 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.6524, allocations: 47.92 kB / 0.9469 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.6525, allocations: 28 kB / 0.9469 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.6544, allocations: 1.163 MB / 0.9481 GB, free: 13.23 MB / 0.7169 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.0047/0.6591, allocations: 3.026 MB / 0.951 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.6607, allocations: 0.7997 MB / 0.9518 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.6613, allocations: 298.7 kB / 0.9521 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.308e-05/0.6614, allocations: 32.59 kB / 0.9521 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009057/0.6623, allocations: 496.7 kB / 0.9526 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 2.214e-06/0.6623, allocations: 0 / 0.9526 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.003267/0.6656, allocations: 1.21 MB / 0.9538 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.6657, allocations: 196.6 kB / 0.954 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.6668, allocations: 0.7968 MB / 0.9547 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/0.6669, allocations: 41.7 kB / 0.9548 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.6674, allocations: 0.5164 MB / 0.9553 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.6676, allocations: 265.8 kB / 0.9555 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.6678, allocations: 142.6 kB / 0.9557 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.668, allocations: 341.9 kB / 0.956 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.6685, allocations: 245.9 kB / 0.9562 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.6691, allocations: 358.5 kB / 0.9566 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6702, allocations: 0.5761 MB / 0.9571 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.6703, allocations: 4 kB / 0.9572 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001939/0.6722, allocations: 0.814 MB / 0.9579 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6722, allocations: 4 kB / 0.9579 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6722, allocations: 4 kB / 0.958 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.6729, allocations: 88.8 kB / 0.958 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.6735, allocations: 155.7 kB / 0.9582 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.6757, allocations: 1.633 MB / 0.9598 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.6764, allocations: 91.53 kB / 0.9599 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.6765, allocations: 27.98 kB / 0.9599 GB, free: 0.6562 MB / 0.7169 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.0005099/0.677, allocations: 297.8 kB / 0.9602 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.6772, allocations: 103.3 kB / 0.9603 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.6796, allocations: 1.068 MB / 0.9613 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.6796, allocations: 15.88 kB / 0.9613 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6796, allocations: 7.938 kB / 0.9613 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.6797, allocations: 7.984 kB / 0.9614 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.6809, allocations: 1.013 MB / 0.9623 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6809, allocations: 0 / 0.9623 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.6815, allocations: 143.8 kB / 0.9625 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.6819, allocations: 80.78 kB / 0.9626 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.682, allocations: 23.98 kB / 0.9626 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.684, allocations: 1.678 MB / 0.9642 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.684, allocations: 0 / 0.9642 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.686, allocations: 0.9516 MB / 0.9651 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.6864, allocations: 296.1 kB / 0.9654 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6865, allocations: 16 kB / 0.9654 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/0.6871, allocations: 67.92 kB / 0.9655 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.6873, allocations: 72.84 kB / 0.9656 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.6873, allocations: 35.97 kB / 0.9656 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007378/0.6881, allocations: 0.5581 MB / 0.9662 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6881, allocations: 0 / 0.9662 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008503/0.689, allocations: 339.1 kB / 0.9665 GB, free: 9.641 MB / 0.7325 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.004077/0.693, allocations: 2.008 MB / 0.9684 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.6948, allocations: 0.7882 MB / 0.9692 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6948, allocations: 4.188 kB / 0.9692 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/0.6958, allocations: 0.5158 MB / 0.9697 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.6978, allocations: 470.1 kB / 0.9702 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.7097, allocations: 7.002 MB / 0.977 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.7105, allocations: 1.102 MB / 0.9781 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008949/0.7114, allocations: 287.7 kB / 0.9784 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/0.7121, allocations: 467.2 kB / 0.9788 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of SimCode: time 2.284e-06/0.7121, allocations: 0 / 0.9788 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3973/1.109, allocations: 25.82 MB / 1.004 GB, free: 195.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.38, allocations: 18.58 kB / 1.004 GB, free: 195.2 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)