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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 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.001241/0.001241, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 283 kB / 290.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 99.05 kB / 0.6065 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.166, allocations: 89.14 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.0079/0.174, allocations: 5.617 MB / 0.6991 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4178/0.5918, allocations: 150.9 MB / 0.8464 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009853/0.5929, allocations: 31.62 kB / 0.8464 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008503/0.5938, allocations: 363.8 kB / 0.8468 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.5954, allocations: 0.5666 MB / 0.8473 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.5972, allocations: 0.8638 MB / 0.8482 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.5987, allocations: 1.549 MB / 0.8497 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009474/0.5997, allocations: 0.7691 MB / 0.8505 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.6002, allocations: 0.5336 MB / 0.851 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.6008, allocations: 0.5677 MB / 0.8515 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.601, allocations: 130.8 kB / 0.8517 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.6017, allocations: 475 kB / 0.8521 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.602, allocations: 338.2 kB / 0.8524 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.6026, allocations: 0.6596 MB / 0.8531 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.6044, allocations: 1.866 MB / 0.8549 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6044, allocations: 0 / 0.8549 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6044, allocations: 0 / 0.8549 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.6044, allocations: 4 kB / 0.8549 GB, free: 0.6523 MB / 0.5762 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.002619/0.607, allocations: 1.681 MB / 0.8565 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6071, allocations: 10.47 kB / 0.8566 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.6073, allocations: 155.5 kB / 0.8567 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/0.6082, allocations: 219.1 kB / 0.8569 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.6094, allocations: 0.8935 MB / 0.8578 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.6095, allocations: 74.16 kB / 0.8579 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.6096, allocations: 99.22 kB / 0.8579 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.6112, allocations: 1.035 MB / 0.859 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.6113, allocations: 0 / 0.859 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.6113, allocations: 45.03 kB / 0.859 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.6114, allocations: 23.62 kB / 0.859 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.6131, allocations: 1.169 MB / 0.8602 GB, free: 13.08 MB / 0.5919 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.004179/0.6173, allocations: 3.054 MB / 0.8631 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6187, allocations: 0.7884 MB / 0.8639 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.6192, allocations: 306.8 kB / 0.8642 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.03e-05/0.6193, allocations: 31.69 kB / 0.8642 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008768/0.6202, allocations: 492.9 kB / 0.8647 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 1.933e-06/0.6202, allocations: 0 / 0.8647 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003023/0.6232, allocations: 1.202 MB / 0.8659 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6234, allocations: 191.9 kB / 0.8661 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.6243, allocations: 0.8075 MB / 0.8669 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/0.6244, allocations: 42.02 kB / 0.8669 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.6248, allocations: 0.506 MB / 0.8674 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.6251, allocations: 257.1 kB / 0.8676 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.6253, allocations: 143 kB / 0.8678 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6255, allocations: 334.2 kB / 0.8681 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.6259, allocations: 253.6 kB / 0.8683 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.6265, allocations: 353.7 kB / 0.8687 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6275, allocations: 0.5766 MB / 0.8692 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6276, allocations: 0 / 0.8692 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001954/0.6295, allocations: 0.8134 MB / 0.87 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6296, allocations: 4.406 kB / 0.87 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6296, allocations: 6.984 kB / 0.87 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.6302, allocations: 79.34 kB / 0.8701 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.6308, allocations: 157.8 kB / 0.8703 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.633, allocations: 1.644 MB / 0.8719 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.6338, allocations: 91.27 kB / 0.872 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.6339, allocations: 27.98 kB / 0.872 GB, free: 4.199 MB / 0.5919 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.0005161/0.6344, allocations: 289.7 kB / 0.8723 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.6346, allocations: 104 kB / 0.8724 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.6371, allocations: 1.079 MB / 0.8734 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.6371, allocations: 12 kB / 0.8734 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6371, allocations: 3.938 kB / 0.8734 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.6371, allocations: 3.984 kB / 0.8734 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.6384, allocations: 1.009 MB / 0.8744 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6385, allocations: 0 / 0.8744 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.639, allocations: 139.8 kB / 0.8746 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.6395, allocations: 76.78 kB / 0.8746 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.6396, allocations: 19.98 kB / 0.8746 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.6416, allocations: 1.679 MB / 0.8763 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6416, allocations: 0 / 0.8763 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.6437, allocations: 0.9394 MB / 0.8772 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.6442, allocations: 291.2 kB / 0.8775 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6443, allocations: 32.03 kB / 0.8775 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.6449, allocations: 67.92 kB / 0.8776 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.6451, allocations: 64.91 kB / 0.8776 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.6452, allocations: 43.91 kB / 0.8777 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007783/0.646, allocations: 0.5581 MB / 0.8782 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.646, allocations: 0 / 0.8782 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008711/0.6469, allocations: 347 kB / 0.8786 GB, free: 13.21 MB / 0.6075 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.004098/0.651, allocations: 1.985 MB / 0.8805 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.6534, allocations: 0.9884 MB / 0.8815 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6534, allocations: 3.938 kB / 0.8815 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.6544, allocations: 0.5159 MB / 0.882 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.6561, allocations: 477.1 kB / 0.8824 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.6679, allocations: 7.332 MB / 0.8896 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.6687, allocations: 1.102 MB / 0.8907 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009248/0.6696, allocations: 283.7 kB / 0.8909 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006409/0.6703, allocations: 467.3 kB / 0.8914 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.6703, allocations: 0 / 0.8914 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06299/0.7333, allocations: 25.54 MB / 0.9163 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.33, allocations: 10.33 kB / 0.9163 GB, free: 6.793 MB / 0.6387 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)