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.001334/0.001334, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001679/0.001679, allocations: 212.8 kB / 22.99 MB, free: 4.977 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.9917/0.9917, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 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: IBPSA 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.002323/0.002323, allocations: 76.19 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1777, allocations: 89.17 MB / 0.7281 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008194/0.1859, allocations: 5.062 MB / 0.7331 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5677/0.7536, allocations: 133 MB / 0.8629 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.755, allocations: 35.69 kB / 0.863 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.756, allocations: 372.4 kB / 0.8633 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.7582, allocations: 0.5796 MB / 0.8639 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.7605, allocations: 0.8993 MB / 0.8648 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.7626, allocations: 1.578 MB / 0.8663 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000976/0.7636, allocations: 483 kB / 0.8668 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.7645, allocations: 0.5721 MB / 0.8673 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.7652, allocations: 0.5168 MB / 0.8678 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.7654, allocations: 136 kB / 0.868 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.7664, allocations: 0.5002 MB / 0.8685 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.7669, allocations: 342.8 kB / 0.8688 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.7675, allocations: 0.5323 MB / 0.8693 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.7702, allocations: 1.975 MB / 0.8712 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7702, allocations: 7.938 kB / 0.8712 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7702, allocations: 0 / 0.8712 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.526e-05/0.7702, allocations: 0 / 0.8712 GB, free: 2.789 MB / 0.6387 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.003024/0.7732, allocations: 1.683 MB / 0.8729 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.7733, allocations: 8.031 kB / 0.8729 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/0.7735, allocations: 157.7 kB / 0.873 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.7749, allocations: 267.8 kB / 0.8733 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.7765, allocations: 0.8437 MB / 0.8741 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.7766, allocations: 74.56 kB / 0.8742 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.7767, allocations: 92 kB / 0.8743 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.7787, allocations: 1.286 MB / 0.8755 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.7787, allocations: 0 / 0.8755 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.7788, allocations: 40 kB / 0.8756 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.7789, allocations: 24 kB / 0.8756 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.7809, allocations: 1.136 MB / 0.8767 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.7853, allocations: 2.504 MB / 0.8792 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.7869, allocations: 0.7468 MB / 0.8799 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.7874, allocations: 274.6 kB / 0.8801 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.7875, allocations: 30.59 kB / 0.8802 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000949/0.7884, allocations: 0.5839 MB / 0.8807 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.7884, allocations: 0 / 0.8807 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.003262/0.7917, allocations: 1.144 MB / 0.8819 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.7918, allocations: 188.6 kB / 0.882 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.7929, allocations: 0.8186 MB / 0.8828 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.793, allocations: 41.7 kB / 0.8829 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.7935, allocations: 0.5281 MB / 0.8834 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.7937, allocations: 265.8 kB / 0.8836 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.7939, allocations: 146.6 kB / 0.8838 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7941, allocations: 333.9 kB / 0.8841 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.7946, allocations: 245.9 kB / 0.8843 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.7953, allocations: 483.1 kB / 0.8848 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.7964, allocations: 0.5838 MB / 0.8854 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7964, allocations: 0 / 0.8854 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001958/0.7984, allocations: 0.8178 MB / 0.8862 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7984, allocations: 4 kB / 0.8862 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7984, allocations: 0 / 0.8862 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/0.7991, allocations: 88.81 kB / 0.8863 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.7997, allocations: 151.7 kB / 0.8864 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.8023, allocations: 1.541 MB / 0.8879 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.8032, allocations: 95.56 kB / 0.888 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.8033, allocations: 31.98 kB / 0.888 GB, free: 1.016 MB / 0.6544 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.0007043/0.804, allocations: 289.6 kB / 0.8883 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.8042, allocations: 107.3 kB / 0.8884 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.8067, allocations: 1.08 MB / 0.8895 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.8067, allocations: 8 kB / 0.8895 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8067, allocations: 3.938 kB / 0.8895 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.8067, allocations: 7.984 kB / 0.8895 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.8079, allocations: 0.8533 MB / 0.8903 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8079, allocations: 0 / 0.8903 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.8085, allocations: 139.8 kB / 0.8904 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.8089, allocations: 72.78 kB / 0.8905 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.809, allocations: 23.98 kB / 0.8905 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.811, allocations: 1.555 MB / 0.8921 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.811, allocations: 3.984 kB / 0.8921 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.8131, allocations: 0.9595 MB / 0.893 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.8136, allocations: 219 kB / 0.8932 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.8138, allocations: 16 kB / 0.8932 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.8144, allocations: 67.98 kB / 0.8933 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.8146, allocations: 76.86 kB / 0.8934 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/0.8146, allocations: 35.92 kB / 0.8934 GB, free: 11.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008311/0.8155, allocations: 0.5782 MB / 0.894 GB, free: 10.73 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8155, allocations: 0 / 0.894 GB, free: 10.73 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008988/0.8164, allocations: 354.9 kB / 0.8943 GB, free: 10.38 MB / 0.67 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.004339/0.8207, allocations: 2.039 MB / 0.8963 GB, free: 8.566 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.8225, allocations: 0.7687 MB / 0.897 GB, free: 7.785 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.8225, allocations: 4 kB / 0.897 GB, free: 7.781 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.8235, allocations: 488.5 kB / 0.8975 GB, free: 7.289 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.8252, allocations: 463.2 kB / 0.898 GB, free: 6.875 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.8372, allocations: 7.08 MB / 0.9049 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.8378, allocations: 0.51 MB / 0.9054 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009391/0.8387, allocations: 291.8 kB / 0.9056 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/0.8394, allocations: 471.2 kB / 0.9061 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.8394, allocations: 0 / 0.9061 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09258/0.932, allocations: 28.02 MB / 0.9335 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.01, allocations: 7.25 kB / 0.9335 GB, free: 2.652 MB / 0.7012 GB " [Timeout remaining time 645] (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: 19.186452268622816] Failed to read output from testmodel.py, exit status != 0: 15.248433888424188 15.276918045 14.501444686 Calling exit ...