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.001279/0.001279, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00145/0.00145, allocations: 215.4 kB / 22.25 MB, free: 5.082 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.004 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.878/0.878, allocations: 134 MB / 446.4 MB, free: 10.23 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.001946/0.001946, allocations: 63.03 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 85.91 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007097/0.1778, allocations: 4.978 MB / 0.7073 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.561/0.7387, allocations: 154.3 MB / 0.8579 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.7401, allocations: 35.69 kB / 0.858 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.741, allocations: 356.1 kB / 0.8583 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.7427, allocations: 0.5074 MB / 0.8588 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.7447, allocations: 0.8665 MB / 0.8596 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.7464, allocations: 1.36 MB / 0.861 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000911/0.7473, allocations: 0.5652 MB / 0.8615 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007117/0.748, allocations: 0.5059 MB / 0.862 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.7486, allocations: 0.5092 MB / 0.8625 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.7488, allocations: 124 kB / 0.8626 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009901/0.7498, allocations: 0.5203 MB / 0.8631 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.7501, allocations: 310.9 kB / 0.8634 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.7506, allocations: 0.606 MB / 0.864 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.7528, allocations: 1.815 MB / 0.8658 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7528, allocations: 4 kB / 0.8658 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7528, allocations: 0 / 0.8658 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.7528, allocations: 4 kB / 0.8658 GB, free: 15.24 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002527/0.7554, allocations: 1.571 MB / 0.8673 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7554, allocations: 8.031 kB / 0.8673 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.7556, allocations: 148.1 kB / 0.8675 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.757, allocations: 251.9 kB / 0.8677 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.7586, allocations: 0.8161 MB / 0.8685 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.7586, allocations: 74 kB / 0.8686 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.7588, allocations: 88 kB / 0.8687 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.7605, allocations: 0.9691 MB / 0.8696 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.7606, allocations: 4 kB / 0.8696 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.7606, allocations: 40 kB / 0.8697 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.7607, allocations: 24 kB / 0.8697 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.7625, allocations: 1.112 MB / 0.8708 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.7668, allocations: 2.621 MB / 0.8733 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.768, allocations: 0.6652 MB / 0.874 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.7685, allocations: 254.6 kB / 0.8742 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.397e-05/0.7685, allocations: 28.67 kB / 0.8743 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.7693, allocations: 418.8 kB / 0.8747 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.014e-06/0.7693, allocations: 0 / 0.8747 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.002837/0.7721, allocations: 1.018 MB / 0.8757 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.7723, allocations: 192.6 kB / 0.8758 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.7732, allocations: 0.779 MB / 0.8766 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.7733, allocations: 37.7 kB / 0.8766 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.7737, allocations: 0.5084 MB / 0.8771 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.7739, allocations: 242 kB / 0.8774 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.7741, allocations: 126.2 kB / 0.8775 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7743, allocations: 330 kB / 0.8778 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.7747, allocations: 213.2 kB / 0.878 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.7752, allocations: 314.7 kB / 0.8783 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/0.7762, allocations: 0.5199 MB / 0.8788 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7762, allocations: 0 / 0.8788 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001715/0.7779, allocations: 0.7317 MB / 0.8795 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7779, allocations: 8 kB / 0.8795 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7779, allocations: 0 / 0.8795 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.7785, allocations: 88.8 kB / 0.8796 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.7791, allocations: 123.9 kB / 0.8797 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.7812, allocations: 1.543 MB / 0.8812 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.7818, allocations: 79.19 kB / 0.8813 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.7819, allocations: 27.98 kB / 0.8813 GB, free: 14.88 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: 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.0004538/0.7824, allocations: 277.7 kB / 0.8816 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.7825, allocations: 107.3 kB / 0.8817 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.7847, allocations: 0.9713 MB / 0.8827 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.7847, allocations: 8 kB / 0.8827 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.7847, allocations: 0 / 0.8827 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.7848, allocations: 3.984 kB / 0.8827 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.7859, allocations: 0.9223 MB / 0.8836 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7859, allocations: 3.938 kB / 0.8836 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.7865, allocations: 131.8 kB / 0.8837 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.7869, allocations: 76.78 kB / 0.8838 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.787, allocations: 19.98 kB / 0.8838 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.7889, allocations: 1.57 MB / 0.8853 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7889, allocations: 0 / 0.8853 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.7908, allocations: 0.8534 MB / 0.8862 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.7912, allocations: 199 kB / 0.8863 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.7913, allocations: 16 kB / 0.8864 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.7918, allocations: 62.38 kB / 0.8864 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.7919, allocations: 64.88 kB / 0.8865 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.792, allocations: 27.98 kB / 0.8865 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000776/0.7928, allocations: 0.542 MB / 0.887 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7928, allocations: 4 kB / 0.887 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008573/0.7936, allocations: 311.1 kB / 0.8873 GB, free: 8.531 MB / 0.6544 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.004004/0.7976, allocations: 1.894 MB / 0.8892 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.7993, allocations: 0.6888 MB / 0.8899 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.7993, allocations: 0 / 0.8899 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.8002, allocations: 456.2 kB / 0.8903 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.8019, allocations: 452 kB / 0.8907 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.814, allocations: 6.684 MB / 0.8973 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.8147, allocations: 1.079 MB / 0.8983 GB, free: 13.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008621/0.8155, allocations: 283.1 kB / 0.8986 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.8161, allocations: 451.2 kB / 0.899 GB, free: 12.59 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/0.8161, allocations: 0 / 0.899 GB, free: 12.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06433/0.8805, allocations: 24.78 MB / 0.9232 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.75, allocations: 10.72 kB / 0.9232 GB, free: 3.98 MB / 0.6856 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.689926266997645] Failed to read output from testmodel.py, exit status != 0: 14.971827963003307 14.998997777 14.240943314 Calling exit ...