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.00146/0.00146, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002004/0.002004, allocations: 210.9 kB / 22.24 MB, free: 5.117 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.828 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.8383/0.8383, allocations: 134 MB / 446.4 MB, free: 9.977 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.00219/0.00219, allocations: 67.08 kB / 0.6185 GB, free: 6.945 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1646, allocations: 85.9 MB / 0.7023 GB, free: 1.129 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007456/0.172, allocations: 4.459 MB / 0.7067 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5239/0.6959, allocations: 132.8 MB / 0.8364 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009345/0.6968, allocations: 35.62 kB / 0.8364 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.6979, allocations: 344.7 kB / 0.8368 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.6999, allocations: 0.5205 MB / 0.8373 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.7023, allocations: 0.8557 MB / 0.8381 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001799/0.7041, allocations: 1.37 MB / 0.8395 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.7052, allocations: 0.5344 MB / 0.84 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.7061, allocations: 0.5059 MB / 0.8405 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.7068, allocations: 473.3 kB / 0.8409 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.707, allocations: 127.9 kB / 0.841 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.7081, allocations: 493.4 kB / 0.8415 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.7085, allocations: 314.9 kB / 0.8418 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.709, allocations: 473.4 kB / 0.8423 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.7115, allocations: 1.834 MB / 0.8441 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7115, allocations: 3.938 kB / 0.8441 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7115, allocations: 0 / 0.8441 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.7115, allocations: 0 / 0.8441 GB, free: 2.234 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.002605/0.7142, allocations: 1.56 MB / 0.8456 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.7142, allocations: 16.03 kB / 0.8456 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.7144, allocations: 152.1 kB / 0.8457 GB, free: 480 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.7159, allocations: 251.9 kB / 0.846 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.7175, allocations: 0.8122 MB / 0.8468 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.7176, allocations: 70 kB / 0.8468 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.7177, allocations: 88 kB / 0.8469 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.7197, allocations: 1.228 MB / 0.8481 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.7197, allocations: 0 / 0.8481 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.7198, allocations: 36 kB / 0.8482 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.7198, allocations: 24 kB / 0.8482 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.7216, allocations: 1.081 MB / 0.8492 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004422/0.7261, allocations: 2.38 MB / 0.8516 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.7273, allocations: 0.6636 MB / 0.8522 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.7278, allocations: 246.7 kB / 0.8525 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.7278, allocations: 20.64 kB / 0.8525 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008432/0.7287, allocations: 0.5144 MB / 0.853 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 2.455e-06/0.7287, allocations: 0 / 0.853 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.002915/0.7316, allocations: 1.014 MB / 0.854 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.7317, allocations: 188.6 kB / 0.8541 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.7328, allocations: 0.7819 MB / 0.8549 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.321e-05/0.7329, allocations: 41.69 kB / 0.8549 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.7334, allocations: 0.5046 MB / 0.8554 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.7336, allocations: 238 kB / 0.8557 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.7338, allocations: 130.2 kB / 0.8558 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7339, allocations: 330 kB / 0.8561 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.7344, allocations: 209.2 kB / 0.8563 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.735, allocations: 451.2 kB / 0.8567 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/0.736, allocations: 0.516 MB / 0.8572 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.736, allocations: 0 / 0.8572 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001799/0.7378, allocations: 0.7317 MB / 0.858 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7378, allocations: 11.94 kB / 0.858 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7378, allocations: 4.094 kB / 0.858 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.7384, allocations: 80.77 kB / 0.858 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.7389, allocations: 131.8 kB / 0.8582 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.7412, allocations: 1.54 MB / 0.8597 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.7418, allocations: 78.08 kB / 0.8598 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.7419, allocations: 23.98 kB / 0.8598 GB, free: 1.586 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.000461/0.7423, allocations: 273.7 kB / 0.86 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.7425, allocations: 103.3 kB / 0.8601 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.7447, allocations: 0.9674 MB / 0.8611 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7447, allocations: 15.94 kB / 0.8611 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.7447, allocations: 0 / 0.8611 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.7447, allocations: 7.984 kB / 0.8611 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.7458, allocations: 0.8054 MB / 0.8619 GB, free: 15.36 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7458, allocations: 7.75 kB / 0.8619 GB, free: 15.36 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.7465, allocations: 131.9 kB / 0.862 GB, free: 15.23 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.7469, allocations: 76.72 kB / 0.8621 GB, free: 15.15 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.747, allocations: 23.98 kB / 0.8621 GB, free: 15.12 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.749, allocations: 1.559 MB / 0.8636 GB, free: 13.44 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.749, allocations: 0 / 0.8636 GB, free: 13.44 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.7509, allocations: 0.8534 MB / 0.8645 GB, free: 12.57 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.7513, allocations: 199 kB / 0.8647 GB, free: 12.37 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7515, allocations: 16 kB / 0.8647 GB, free: 12.36 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.752, allocations: 47.94 kB / 0.8647 GB, free: 12.31 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.7521, allocations: 60.89 kB / 0.8648 GB, free: 12.25 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.7522, allocations: 35.97 kB / 0.8648 GB, free: 12.21 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0007973/0.753, allocations: 0.5498 MB / 0.8654 GB, free: 11.67 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/0.753, allocations: 0 / 0.8654 GB, free: 11.67 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0009019/0.7539, allocations: 311 kB / 0.8656 GB, free: 11.36 MB / 0.6388 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.00431/0.7582, allocations: 1.935 MB / 0.8675 GB, free: 9.652 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.7598, allocations: 0.6888 MB / 0.8682 GB, free: 8.953 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7598, allocations: 4 kB / 0.8682 GB, free: 8.949 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0008724/0.7607, allocations: 452.2 kB / 0.8686 GB, free: 8.492 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.7624, allocations: 456.4 kB / 0.8691 GB, free: 8.09 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.775, allocations: 6.675 MB / 0.8756 GB, free: 1.258 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.7756, allocations: 499.8 kB / 0.8761 GB, free: 0.7344 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0009707/0.7766, allocations: 287.1 kB / 0.8764 GB, free: 460 kB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/0.7772, allocations: 447.2 kB / 0.8768 GB, free: 12 kB / 0.6388 GB Notification: Performance of SimCode: time 1.122e-06/0.7772, allocations: 0 / 0.8768 GB, free: 12 kB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0695/0.8467, allocations: 25.96 MB / 0.9021 GB, free: 6.289 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.45, allocations: 3.125 kB / 0.9021 GB, free: 6.289 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 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.239467175211757] Failed to read output from testmodel.py, exit status != 0: 14.683560125064105 14.701742373 13.986660132 Calling exit ...