Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001466/0.001466, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00211/0.00211, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.919/0.919, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001985/0.001985, allocations: 67.08 kB / 0.6185 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1638, allocations: 85.9 MB / 0.7024 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007134/0.1709, allocations: 4.451 MB / 0.7067 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5524/0.7234, allocations: 132.8 MB / 0.8364 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.7244, allocations: 35.78 kB / 0.8364 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.7254, allocations: 344.3 kB / 0.8368 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.7276, allocations: 0.5203 MB / 0.8373 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.7298, allocations: 0.8606 MB / 0.8381 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.7314, allocations: 1.365 MB / 0.8395 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009958/0.7324, allocations: 0.5354 MB / 0.84 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008024/0.7332, allocations: 0.502 MB / 0.8405 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006815/0.7339, allocations: 479.8 kB / 0.8409 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.7341, allocations: 124 kB / 0.841 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.7351, allocations: 493.4 kB / 0.8415 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.7355, allocations: 314.9 kB / 0.8418 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.7361, allocations: 485.3 kB / 0.8423 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.7383, allocations: 1.827 MB / 0.8441 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7383, allocations: 0 / 0.8441 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7383, allocations: 0 / 0.8441 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.7383, allocations: 0 / 0.8441 GB, free: 2.246 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002565/0.7409, allocations: 1.567 MB / 0.8456 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7409, allocations: 8.031 kB / 0.8456 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.7411, allocations: 156.1 kB / 0.8458 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.7425, allocations: 251.9 kB / 0.846 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.744, allocations: 0.8161 MB / 0.8468 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.7441, allocations: 73.98 kB / 0.8469 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.7442, allocations: 88 kB / 0.8469 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.746, allocations: 1.22 MB / 0.8481 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.746, allocations: 0 / 0.8481 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.7461, allocations: 36 kB / 0.8482 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.7461, allocations: 24.81 kB / 0.8482 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.7479, allocations: 1.086 MB / 0.8493 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.752, allocations: 2.368 MB / 0.8516 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.7533, allocations: 0.6683 MB / 0.8522 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.7538, allocations: 250.6 kB / 0.8525 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.7539, allocations: 24.62 kB / 0.8525 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000859/0.7548, allocations: 0.5099 MB / 0.853 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 2.975e-06/0.7548, allocations: 0 / 0.853 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.00299/0.7577, allocations: 1.011 MB / 0.854 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.7579, allocations: 192.6 kB / 0.8542 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.7591, allocations: 0.779 MB / 0.8549 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.7592, allocations: 37.7 kB / 0.8549 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/0.7598, allocations: 0.5046 MB / 0.8554 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.76, allocations: 238 kB / 0.8557 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.7602, allocations: 133.2 kB / 0.8558 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.7604, allocations: 333.9 kB / 0.8561 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.7608, allocations: 209.2 kB / 0.8563 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.7614, allocations: 451.2 kB / 0.8567 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.7624, allocations: 0.516 MB / 0.8572 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7624, allocations: 0 / 0.8572 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001879/0.7643, allocations: 0.7278 MB / 0.858 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7643, allocations: 4 kB / 0.858 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7643, allocations: 4 kB / 0.858 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.7649, allocations: 88.8 kB / 0.858 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.7655, allocations: 127.8 kB / 0.8582 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.7678, allocations: 1.529 MB / 0.8597 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.7685, allocations: 83.59 kB / 0.8597 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.7685, allocations: 23.98 kB / 0.8598 GB, free: 1.598 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0005313/0.7691, allocations: 281.6 kB / 0.86 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.7693, allocations: 103.3 kB / 0.8601 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.7715, allocations: 0.9742 MB / 0.8611 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.7715, allocations: 8 kB / 0.8611 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7715, allocations: 7.938 kB / 0.8611 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.7715, allocations: 3.984 kB / 0.8611 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.7727, allocations: 0.8015 MB / 0.8619 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.7727, allocations: 0 / 0.8619 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.7732, allocations: 139.8 kB / 0.862 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.7737, allocations: 72.78 kB / 0.8621 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.7737, allocations: 27.73 kB / 0.8621 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.7759, allocations: 1.555 MB / 0.8636 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7759, allocations: 4.031 kB / 0.8636 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.7778, allocations: 0.8534 MB / 0.8645 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.7782, allocations: 199 kB / 0.8647 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.7783, allocations: 19.98 kB / 0.8647 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.7788, allocations: 43.95 kB / 0.8647 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.779, allocations: 64.88 kB / 0.8648 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.7791, allocations: 35.92 kB / 0.8648 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007453/0.7798, allocations: 0.5498 MB / 0.8654 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7798, allocations: 0 / 0.8654 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008408/0.7806, allocations: 307.1 kB / 0.8656 GB, free: 11.37 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00438/0.785, allocations: 1.94 MB / 0.8675 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.7866, allocations: 0.6888 MB / 0.8682 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7866, allocations: 0 / 0.8682 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008614/0.7875, allocations: 456.2 kB / 0.8687 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.7891, allocations: 454.9 kB / 0.8691 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.8012, allocations: 6.678 MB / 0.8756 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.8018, allocations: 495.8 kB / 0.8761 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009935/0.8028, allocations: 287.1 kB / 0.8764 GB, free: 468 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.8035, allocations: 447.2 kB / 0.8768 GB, free: 20 kB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.8035, allocations: 0 / 0.8768 GB, free: 20 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06805/0.8715, allocations: 25.97 MB / 0.9021 GB, free: 6.293 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.48, allocations: 0 / 0.9021 GB, free: 6.293 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.63124074228108] Failed to read output from testmodel.py, exit status != 0: 14.71501857880503 14.74052052 13.997851959 Calling exit ...