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.0007053/0.0007053, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007485/0.0007485, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8567/0.8567, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.00143/0.00143, allocations: 234 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6531/0.6531, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.021e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.2231/0.2231, allocations: 5.076 MB / 0.6512 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1098/0.3329, allocations: 133 MB / 0.7811 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.3341, allocations: 35.69 kB / 0.7811 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008958/0.335, allocations: 385.2 kB / 0.7815 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.3369, allocations: 0.5882 MB / 0.7821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.3386, allocations: 0.9099 MB / 0.783 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.3405, allocations: 1.625 MB / 0.7846 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.3413, allocations: 489.7 kB / 0.785 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.3423, allocations: 0.8185 MB / 0.7858 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.3428, allocations: 442.6 kB / 0.7863 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.343, allocations: 136 kB / 0.7864 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008565/0.3438, allocations: 0.4993 MB / 0.7869 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.3441, allocations: 346.8 kB / 0.7872 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.3444, allocations: 438.8 kB / 0.7876 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.3465, allocations: 2.048 MB / 0.7896 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3465, allocations: 0 / 0.7896 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3465, allocations: 0 / 0.7896 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.585e-05/0.3466, allocations: 3.984 kB / 0.7896 GB, free: 8.215 MB / 0.6198 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.002442/0.349, allocations: 1.668 MB / 0.7912 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3491, allocations: 13.94 kB / 0.7913 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.3492, allocations: 156.4 kB / 0.7914 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.35, allocations: 263.8 kB / 0.7917 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3511, allocations: 0.8386 MB / 0.7925 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.3512, allocations: 87.25 kB / 0.7926 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.3512, allocations: 96 kB / 0.7927 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.3525, allocations: 1.283 MB / 0.7939 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3525, allocations: 0 / 0.7939 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.3526, allocations: 40 kB / 0.7939 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.3526, allocations: 28 kB / 0.794 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3538, allocations: 1.124 MB / 0.7951 GB, free: 2.461 MB / 0.6198 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.003174/0.357, allocations: 2.5 MB / 0.7975 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3581, allocations: 0.7406 MB / 0.7982 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.3584, allocations: 280.9 kB / 0.7985 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.3584, allocations: 24.62 kB / 0.7985 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.359, allocations: 0.5866 MB / 0.7991 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.359, allocations: 0 / 0.7991 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001854/0.3609, allocations: 1.137 MB / 0.8002 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.361, allocations: 200.4 kB / 0.8004 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.3617, allocations: 0.827 MB / 0.8012 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.3618, allocations: 41.7 kB / 0.8013 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.3621, allocations: 0.5203 MB / 0.8018 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3622, allocations: 261.8 kB / 0.802 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.3624, allocations: 146.6 kB / 0.8021 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.3625, allocations: 341.9 kB / 0.8025 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.3628, allocations: 241.9 kB / 0.8027 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.3632, allocations: 486.9 kB / 0.8032 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.3638, allocations: 0.5799 MB / 0.8037 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3638, allocations: 4 kB / 0.8037 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001157/0.365, allocations: 0.8256 MB / 0.8045 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.365, allocations: 4 kB / 0.8045 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.365, allocations: 4 kB / 0.8046 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.3653, allocations: 80.88 kB / 0.8046 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.3656, allocations: 143.8 kB / 0.8048 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.3671, allocations: 1.536 MB / 0.8063 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.3676, allocations: 83.52 kB / 0.8063 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.3676, allocations: 31.98 kB / 0.8064 GB, free: 6.473 MB / 0.6355 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.0004509/0.3681, allocations: 297.6 kB / 0.8067 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3682, allocations: 115.2 kB / 0.8068 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.3696, allocations: 1.065 MB / 0.8078 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3696, allocations: 12 kB / 0.8078 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3696, allocations: 3 kB / 0.8078 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3696, allocations: 3.984 kB / 0.8078 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.3705, allocations: 0.8605 MB / 0.8087 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.3705, allocations: 3.984 kB / 0.8087 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.3708, allocations: 139.8 kB / 0.8088 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.371, allocations: 76.73 kB / 0.8089 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.371, allocations: 27.97 kB / 0.8089 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.3721, allocations: 1.559 MB / 0.8104 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3721, allocations: 7.344 kB / 0.8104 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.3733, allocations: 0.9478 MB / 0.8114 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.3736, allocations: 219 kB / 0.8116 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.3737, allocations: 20 kB / 0.8116 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.374, allocations: 67.92 kB / 0.8117 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3741, allocations: 72.86 kB / 0.8117 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.3742, allocations: 31.98 kB / 0.8118 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006651/0.3748, allocations: 0.5782 MB / 0.8123 GB, free: 188 kB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3748, allocations: 0 / 0.8123 GB, free: 188 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000694/0.3755, allocations: 343.1 kB / 0.8126 GB, free: 15.84 MB / 0.6511 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.002295/0.3778, allocations: 2.054 MB / 0.8147 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3789, allocations: 0.7687 MB / 0.8154 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3789, allocations: 0 / 0.8154 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.3794, allocations: 496.4 kB / 0.8159 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3804, allocations: 485.5 kB / 0.8163 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008111/0.3885, allocations: 7.1 MB / 0.8233 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3889, allocations: 0.51 MB / 0.8238 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006964/0.3896, allocations: 287.8 kB / 0.824 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/0.3901, allocations: 476.3 kB / 0.8245 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.3901, allocations: 0 / 0.8245 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.43, allocations: 28.17 MB / 0.852 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.469, allocations: 3.938 kB / 0.852 GB, free: 7.969 MB / 0.6823 GB " [Timeout remaining time 651] (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: 11.159387055784464] Failed to read output from testmodel.py, exit status != 0: 8.617878717370331 8.626596408 8.278132545 Calling exit ...