Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009576/0.0009576, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.001081/0.001081, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.935/0.935, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5611/0.5611, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5541 GB, free: 1.754 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.947e-05, allocations: 5.344 kB / 0.5541 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005245/0.005264, allocations: 5.066 MB / 0.5591 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4367/0.442, allocations: 133 MB / 0.689 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.443, allocations: 38.69 kB / 0.689 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008323/0.4439, allocations: 379.5 kB / 0.6894 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.4457, allocations: 0.5981 MB / 0.69 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.4476, allocations: 0.9108 MB / 0.6909 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00188/0.4495, allocations: 1.644 MB / 0.6925 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009055/0.4504, allocations: 498.3 kB / 0.693 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.4518, allocations: 0.8358 MB / 0.6938 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005555/0.4524, allocations: 452.2 kB / 0.6942 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.4526, allocations: 140 kB / 0.6943 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.4536, allocations: 0.5037 MB / 0.6948 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.4539, allocations: 358.3 kB / 0.6952 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.4545, allocations: 451.6 kB / 0.6956 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.4572, allocations: 2.083 MB / 0.6976 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.4572, allocations: 1.5 kB / 0.6976 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4572, allocations: 0 / 0.6976 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.744e-05/0.4573, allocations: 0 / 0.6976 GB, free: 5.641 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002622/0.4599, allocations: 1.697 MB / 0.6993 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.46, allocations: 10.12 kB / 0.6993 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.4601, allocations: 157.2 kB / 0.6995 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009649/0.461, allocations: 268.5 kB / 0.6997 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.4624, allocations: 0.8522 MB / 0.7005 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.4624, allocations: 80.52 kB / 0.7006 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.4625, allocations: 112.6 kB / 0.7007 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.4639, allocations: 1.3 MB / 0.702 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4639, allocations: 3.75 kB / 0.702 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.4639, allocations: 41.47 kB / 0.702 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.464, allocations: 24.75 kB / 0.7021 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.4652, allocations: 1.131 MB / 0.7032 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/0.4686, allocations: 2.639 MB / 0.7057 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.4697, allocations: 0.7873 MB / 0.7065 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.47, allocations: 296.2 kB / 0.7068 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/0.4701, allocations: 26.8 kB / 0.7068 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006469/0.4707, allocations: 0.6143 MB / 0.7074 GB, free: 404 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=86): time 2.985e-06/0.4707, allocations: 0 / 0.7074 GB, free: 404 kB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.001958/0.4727, allocations: 1.191 MB / 0.7086 GB, free: 15.85 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4728, allocations: 198.2 kB / 0.7088 GB, free: 15.62 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4738, allocations: 0.825 MB / 0.7096 GB, free: 15.14 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/0.4739, allocations: 53.66 kB / 0.7096 GB, free: 15.09 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.4742, allocations: 0.519 MB / 0.7101 GB, free: 14.63 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.4744, allocations: 284.2 kB / 0.7104 GB, free: 14.39 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.4746, allocations: 161.1 kB / 0.7106 GB, free: 14.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4747, allocations: 334.1 kB / 0.7109 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.4751, allocations: 273.7 kB / 0.7111 GB, free: 13.84 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.4756, allocations: 0.5117 MB / 0.7116 GB, free: 13.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/0.4763, allocations: 0.6188 MB / 0.7122 GB, free: 13.11 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4763, allocations: 0 / 0.7122 GB, free: 13.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001306/0.4776, allocations: 0.893 MB / 0.7131 GB, free: 12.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.4776, allocations: 5.281 kB / 0.7131 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4776, allocations: 4.094 kB / 0.7131 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.478, allocations: 82.17 kB / 0.7132 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.4784, allocations: 162.2 kB / 0.7134 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.4799, allocations: 1.533 MB / 0.7149 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.4804, allocations: 102.8 kB / 0.715 GB, free: 11.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.4805, allocations: 29.64 kB / 0.715 GB, free: 11 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (97): * Single equations (assignments): 96 * 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.0005638/0.481, allocations: 303 kB / 0.7153 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.4812, allocations: 110.1 kB / 0.7154 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.4827, allocations: 1.105 MB / 0.7165 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.4827, allocations: 11.47 kB / 0.7165 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4827, allocations: 0 / 0.7165 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4827, allocations: 7.969 kB / 0.7165 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.4853, allocations: 2.124 MB / 0.7185 GB, free: 8.746 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4853, allocations: 2.5 kB / 0.7186 GB, free: 8.746 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.4856, allocations: 144.4 kB / 0.7187 GB, free: 8.711 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/0.4858, allocations: 78.62 kB / 0.7188 GB, free: 8.668 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.4859, allocations: 24.17 kB / 0.7188 GB, free: 8.652 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.487, allocations: 1.55 MB / 0.7203 GB, free: 7.176 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.487, allocations: 0 / 0.7203 GB, free: 7.176 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.4884, allocations: 1.054 MB / 0.7213 GB, free: 6.582 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.4888, allocations: 228.5 kB / 0.7215 GB, free: 6.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/0.4889, allocations: 27.16 kB / 0.7216 GB, free: 6.391 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.4892, allocations: 69.39 kB / 0.7216 GB, free: 6.355 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4893, allocations: 75.39 kB / 0.7217 GB, free: 6.309 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.4894, allocations: 37 kB / 0.7217 GB, free: 6.293 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006426/0.49, allocations: 0.5719 MB / 0.7223 GB, free: 5.957 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.49, allocations: 0 / 0.7223 GB, free: 5.957 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001056/0.4911, allocations: 351.4 kB / 0.7226 GB, free: 5.852 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002631/0.4937, allocations: 2.161 MB / 0.7248 GB, free: 4.578 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.495, allocations: 0.8122 MB / 0.7255 GB, free: 4.148 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.495, allocations: 0 / 0.7255 GB, free: 4.148 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.4956, allocations: 0.4964 MB / 0.726 GB, free: 3.859 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.4968, allocations: 473.3 kB / 0.7265 GB, free: 3.645 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.5054, allocations: 7.389 MB / 0.7337 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.5058, allocations: 0.5216 MB / 0.7342 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007577/0.5065, allocations: 298 kB / 0.7345 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.507, allocations: 485.5 kB / 0.735 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of SimCode: time 1.443e-06/0.507, allocations: 0 / 0.735 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/0.5572, allocations: 28.68 MB / 0.763 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.306/9.863, allocations: 4.578 kB / 0.763 GB, free: 5.547 MB / 0.6042 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.618345770984888] Failed to read output from testmodel.py, exit status != 0: 10.022501693107188 10.038547947 9.578195227 Calling exit ...