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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 219.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002467/0.002467, allocations: 285.7 kB / 312.7 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.237/1.237, allocations: 180.6 MB / 0.5369 GB, free: 13.11 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 101.8 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1953, allocations: 95.39 MB / 0.8327 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008786/0.2041, allocations: 5.703 MB / 0.8383 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6941/0.8982, allocations: 154.4 MB / 0.9891 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.8998, allocations: 34.59 kB / 0.9891 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.901, allocations: 373 kB / 0.9895 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.9032, allocations: 0.5795 MB / 0.99 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.906, allocations: 0.9208 MB / 0.9909 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.9088, allocations: 1.572 MB / 0.9925 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.9099, allocations: 0.5063 MB / 0.993 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.911, allocations: 0.5707 MB / 0.9935 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009868/0.9119, allocations: 0.5843 MB / 0.9941 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.9122, allocations: 134.2 kB / 0.9942 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.9135, allocations: 0.5259 MB / 0.9947 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.9138, allocations: 342.7 kB / 0.9951 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.9146, allocations: 0.6706 MB / 0.9957 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.9177, allocations: 1.978 MB / 0.9977 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.9177, allocations: 0 / 0.9977 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9177, allocations: 0 / 0.9977 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.225e-05/0.9178, allocations: 0 / 0.9977 GB, free: 2.664 MB / 0.7169 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.003975/0.9218, allocations: 1.682 MB / 0.9993 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.9218, allocations: 14.47 kB / 0.9993 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.922, allocations: 153.4 kB / 0.9995 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.9238, allocations: 266.1 kB / 0.9997 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.9256, allocations: 0.8477 MB / 1.001 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.9257, allocations: 75.91 kB / 1.001 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.9258, allocations: 94.53 kB / 1.001 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.9278, allocations: 1.031 MB / 1.002 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.9278, allocations: 2.391 kB / 1.002 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/0.9279, allocations: 45.03 kB / 1.002 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.9279, allocations: 24.34 kB / 1.002 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.9303, allocations: 1.166 MB / 1.003 GB, free: 17.21 MB / 0.7325 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.005026/0.9353, allocations: 2.964 MB / 1.006 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.9366, allocations: 0.7553 MB / 1.007 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.9371, allocations: 276.6 kB / 1.007 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/0.9372, allocations: 33.58 kB / 1.007 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007984/0.938, allocations: 499.6 kB / 1.007 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.938, allocations: 0 / 1.007 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78): time 0.003053/0.941, allocations: 1.132 MB / 1.008 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.9412, allocations: 195.9 kB / 1.009 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.9423, allocations: 0.8213 MB / 1.009 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.9423, allocations: 44.23 kB / 1.009 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.9427, allocations: 0.5244 MB / 1.01 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.9429, allocations: 261.4 kB / 1.01 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.9431, allocations: 143.5 kB / 1.01 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.9432, allocations: 336.1 kB / 1.011 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.9437, allocations: 249.6 kB / 1.011 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.9442, allocations: 356 kB / 1.011 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.9452, allocations: 0.5767 MB / 1.012 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9452, allocations: 5.359 kB / 1.012 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001823/0.947, allocations: 0.8148 MB / 1.013 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.947, allocations: 6.219 kB / 1.013 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9471, allocations: 6.719 kB / 1.013 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.9476, allocations: 81.47 kB / 1.013 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.9482, allocations: 151.1 kB / 1.013 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.9505, allocations: 1.547 MB / 1.014 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/0.9514, allocations: 99.06 kB / 1.014 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.9514, allocations: 33.39 kB / 1.014 GB, free: 13.22 MB / 0.7325 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.0006252/0.9521, allocations: 286.9 kB / 1.015 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.9523, allocations: 109.4 kB / 1.015 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.9546, allocations: 1.078 MB / 1.016 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.9546, allocations: 8.25 kB / 1.016 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.9546, allocations: 5.312 kB / 1.016 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.9546, allocations: 5.578 kB / 1.016 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.9561, allocations: 0.9915 MB / 1.017 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9561, allocations: 0 / 1.017 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.9567, allocations: 142.6 kB / 1.017 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.9571, allocations: 68.91 kB / 1.017 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.9571, allocations: 27.23 kB / 1.017 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.9591, allocations: 1.567 MB / 1.019 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9591, allocations: 0 / 1.019 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.9611, allocations: 0.9558 MB / 1.02 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/0.9617, allocations: 241.1 kB / 1.02 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.9618, allocations: 18.78 kB / 1.02 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.9624, allocations: 58.19 kB / 1.02 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.9626, allocations: 78.05 kB / 1.02 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/0.9626, allocations: 39.03 kB / 1.02 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008463/0.9635, allocations: 0.5789 MB / 1.021 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9635, allocations: 2.75 kB / 1.021 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00113/0.9646, allocations: 343.8 kB / 1.021 GB, free: 11.01 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.004272/0.9689, allocations: 2.005 MB / 1.023 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.9707, allocations: 0.7676 MB / 1.024 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9707, allocations: 2.344 kB / 1.024 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/0.9716, allocations: 492.8 kB / 1.024 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.9734, allocations: 476.7 kB / 1.025 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.9849, allocations: 7.066 MB / 1.031 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.9856, allocations: 1.102 MB / 1.033 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001035/0.9866, allocations: 294.8 kB / 1.033 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.9872, allocations: 471.2 kB / 1.033 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.9872, allocations: 4 kB / 1.033 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07123/1.058, allocations: 26.8 MB / 1.059 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.16, allocations: 10.86 kB / 1.059 GB, free: 10.91 MB / 0.7481 GB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.623426354999538] Failed to read output from testmodel.py, exit status != 0: 15.380478926999785 15.397443909 14.476345209 Calling exit ...