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.001378/0.001378, allocations: 111.7 kB / 17.12 MB, free: 5.945 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.001522/0.001522, allocations: 208 kB / 20.09 MB, free: 2.996 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.017/1.017, allocations: 150 MB / 459.5 MB, free: 5.301 MB / 350.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.003236/0.003236, allocations: 61.5 kB / 0.6361 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1699, allocations: 89.14 MB / 0.7231 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007743/0.1776, allocations: 5.668 MB / 0.7287 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6167/0.7943, allocations: 154.3 MB / 0.8793 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.7955, allocations: 32.66 kB / 0.8794 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.7966, allocations: 372.2 kB / 0.8797 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.7988, allocations: 0.5722 MB / 0.8803 GB, free: 1.988 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.8011, allocations: 0.9054 MB / 0.8812 GB, free: 1.977 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.8033, allocations: 1.566 MB / 0.8827 GB, free: 1.973 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000947/0.8043, allocations: 0.5084 MB / 0.8832 GB, free: 1.871 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.8053, allocations: 0.5684 MB / 0.8837 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009562/0.8063, allocations: 0.5823 MB / 0.8843 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.8066, allocations: 133.3 kB / 0.8844 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.8078, allocations: 0.5235 MB / 0.8849 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.8082, allocations: 340.6 kB / 0.8853 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008511/0.809, allocations: 0.6666 MB / 0.8859 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.8124, allocations: 1.978 MB / 0.8879 GB, free: 1.727 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8124, allocations: 0 / 0.8879 GB, free: 1.727 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8124, allocations: 0.8438 kB / 0.8879 GB, free: 1.727 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.689e-05/0.8124, allocations: 4 kB / 0.8879 GB, free: 1.723 MB / 0.67 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.003851/0.8163, allocations: 1.761 MB / 0.8896 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.8163, allocations: 9.344 kB / 0.8896 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.8166, allocations: 155.3 kB / 0.8897 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.8183, allocations: 261.6 kB / 0.89 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.8201, allocations: 0.9371 MB / 0.8909 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.8202, allocations: 73.59 kB / 0.891 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.8203, allocations: 95.94 kB / 0.8911 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.8227, allocations: 1.031 MB / 0.8921 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.8227, allocations: 4.719 kB / 0.8921 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.8228, allocations: 40.06 kB / 0.8921 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.8228, allocations: 31.36 kB / 0.8921 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.8248, allocations: 1.164 MB / 0.8933 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.8297, allocations: 3.078 MB / 0.8963 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.8311, allocations: 0.759 MB / 0.897 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.8316, allocations: 278.6 kB / 0.8973 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.8318, allocations: 32.28 kB / 0.8973 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008383/0.8326, allocations: 497.8 kB / 0.8978 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.8326, allocations: 0 / 0.8978 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.003379/0.836, allocations: 1.214 MB / 0.899 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.8361, allocations: 192.4 kB / 0.8992 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.8373, allocations: 0.8226 MB / 0.9 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.8374, allocations: 41.83 kB / 0.9 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.8379, allocations: 0.518 MB / 0.9005 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.8381, allocations: 271.3 kB / 0.9008 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.8384, allocations: 144.3 kB / 0.9009 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002483/0.8386, allocations: 341.7 kB / 0.9012 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.8391, allocations: 241.1 kB / 0.9015 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.8397, allocations: 350.5 kB / 0.9018 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.8406, allocations: 0.582 MB / 0.9024 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.8407, allocations: 3.188 kB / 0.9024 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002098/0.8427, allocations: 0.8186 MB / 0.9032 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.8428, allocations: 5.562 kB / 0.9032 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8428, allocations: 2.938 kB / 0.9032 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/0.8434, allocations: 83.75 kB / 0.9033 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.8441, allocations: 150 kB / 0.9034 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.8465, allocations: 1.641 MB / 0.905 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.8475, allocations: 92.64 kB / 0.9051 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.8476, allocations: 28.44 kB / 0.9051 GB, free: 11.83 MB / 0.6856 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.0005834/0.8482, allocations: 299.3 kB / 0.9054 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.8484, allocations: 109.6 kB / 0.9055 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.8508, allocations: 1.069 MB / 0.9066 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.8508, allocations: 7.125 kB / 0.9066 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8508, allocations: 7.875 kB / 0.9066 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.8508, allocations: 12.98 kB / 0.9066 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.8522, allocations: 1.024 MB / 0.9076 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.8523, allocations: 0 / 0.9076 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.8528, allocations: 141 kB / 0.9077 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/0.8533, allocations: 74.11 kB / 0.9078 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.8533, allocations: 25.05 kB / 0.9078 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.8555, allocations: 1.669 MB / 0.9094 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8555, allocations: 6.688 kB / 0.9094 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.8577, allocations: 0.9445 MB / 0.9104 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.8581, allocations: 299.4 kB / 0.9107 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.8583, allocations: 22.77 kB / 0.9107 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.8589, allocations: 60.95 kB / 0.9107 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.8591, allocations: 65.5 kB / 0.9108 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/0.8591, allocations: 45.41 kB / 0.9108 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008326/0.86, allocations: 0.5819 MB / 0.9114 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.86, allocations: 0 / 0.9114 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001154/0.8611, allocations: 344.5 kB / 0.9117 GB, free: 9.383 MB / 0.6856 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.004277/0.8654, allocations: 2.005 MB / 0.9137 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.8671, allocations: 0.7684 MB / 0.9144 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8671, allocations: 5.344 kB / 0.9144 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.868, allocations: 499.5 kB / 0.9149 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.8698, allocations: 477.4 kB / 0.9154 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.8827, allocations: 7.072 MB / 0.9223 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.8834, allocations: 1.105 MB / 0.9234 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001064/0.8845, allocations: 289 kB / 0.9236 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/0.8852, allocations: 479.1 kB / 0.9241 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of SimCode: time 1.183e-06/0.8852, allocations: 0 / 0.9241 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07493/0.9601, allocations: 26.18 MB / 0.9497 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.79, allocations: 7.281 kB / 0.9497 GB, free: 5.387 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.074075345881283] Failed to read output from testmodel.py, exit status != 0: 14.996933792950585 15.021980131 14.204442421 Calling exit ...