Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009483/0.0009483, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008687/0.0008687, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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 0.9458/0.9458, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7586/0.7586, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_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.0009257/0.0009257, allocations: 75.02 kB / 0.7181 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4499, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005535/0.4554, allocations: 5.097 MB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1232/0.5786, allocations: 133 MB / 0.9526 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5796, allocations: 35.69 kB / 0.9526 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.5803, allocations: 369.4 kB / 0.953 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.5817, allocations: 0.582 MB / 0.9536 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.5832, allocations: 0.9021 MB / 0.9544 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009501/0.5842, allocations: 1.574 MB / 0.956 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.5849, allocations: 499 kB / 0.9565 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.5853, allocations: 0.5604 MB / 0.957 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.5857, allocations: 0.5207 MB / 0.9575 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.5858, allocations: 132 kB / 0.9576 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005931/0.5864, allocations: 0.5035 MB / 0.9581 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.5866, allocations: 338.8 kB / 0.9585 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.5868, allocations: 0.5324 MB / 0.959 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.5881, allocations: 1.987 MB / 0.9609 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5881, allocations: 4 kB / 0.9609 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5882, allocations: 0 / 0.9609 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.5882, allocations: 0 / 0.9609 GB, free: 2.629 MB / 0.7292 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.001639/0.5898, allocations: 1.671 MB / 0.9626 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5898, allocations: 12.03 kB / 0.9626 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.59, allocations: 152.4 kB / 0.9627 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.5908, allocations: 271.8 kB / 0.963 GB, free: 496 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.5919, allocations: 0.8464 MB / 0.9638 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.592, allocations: 70 kB / 0.9639 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.592, allocations: 96 kB / 0.964 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5932, allocations: 1.286 MB / 0.9652 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.5932, allocations: 0 / 0.9652 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/0.5933, allocations: 44 kB / 0.9653 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5933, allocations: 24 kB / 0.9653 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.5945, allocations: 1.128 MB / 0.9664 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.5971, allocations: 2.492 MB / 0.9688 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.598, allocations: 0.7468 MB / 0.9695 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.5984, allocations: 279.7 kB / 0.9698 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.5984, allocations: 24.62 kB / 0.9698 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/0.5992, allocations: 0.5894 MB / 0.9704 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 1.753e-06/0.5992, allocations: 4 kB / 0.9704 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.001747/0.6009, allocations: 1.134 MB / 0.9715 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.601, allocations: 196.6 kB / 0.9717 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.6016, allocations: 0.8263 MB / 0.9725 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.6017, allocations: 37.7 kB / 0.9725 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.602, allocations: 0.5281 MB / 0.9731 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.6021, allocations: 269.7 kB / 0.9733 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.6022, allocations: 142.6 kB / 0.9735 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.6023, allocations: 333.9 kB / 0.9738 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.6026, allocations: 245.9 kB / 0.974 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.603, allocations: 491 kB / 0.9745 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.6036, allocations: 0.5761 MB / 0.975 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6036, allocations: 3.938 kB / 0.975 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001035/0.6047, allocations: 0.814 MB / 0.9758 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6047, allocations: 11.98 kB / 0.9759 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6047, allocations: 64 / 0.9759 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.605, allocations: 88.81 kB / 0.9759 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.6053, allocations: 143.8 kB / 0.9761 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.6067, allocations: 1.539 MB / 0.9776 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.607, allocations: 91.39 kB / 0.9777 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.607, allocations: 31.98 kB / 0.9777 GB, free: 0.8555 MB / 0.7448 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.0002824/0.6073, allocations: 293.5 kB / 0.978 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.6074, allocations: 111.3 kB / 0.9781 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.6087, allocations: 1.068 MB / 0.9791 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6087, allocations: 15.94 kB / 0.9791 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.6087, allocations: 0 / 0.9791 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6087, allocations: 7.984 kB / 0.9791 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.6094, allocations: 0.8565 MB / 0.98 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6094, allocations: 3.984 kB / 0.98 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.6097, allocations: 143.8 kB / 0.9801 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.6099, allocations: 72.8 kB / 0.9802 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.6099, allocations: 27.97 kB / 0.9802 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.6109, allocations: 1.558 MB / 0.9817 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6109, allocations: 0 / 0.9817 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.612, allocations: 0.9479 MB / 0.9827 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.6123, allocations: 226.9 kB / 0.9829 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.6123, allocations: 16 kB / 0.9829 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.6126, allocations: 63.92 kB / 0.983 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.6127, allocations: 80.8 kB / 0.983 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.6127, allocations: 31.98 kB / 0.9831 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004485/0.6132, allocations: 0.5859 MB / 0.9836 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6132, allocations: 0 / 0.9836 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005171/0.6137, allocations: 343 kB / 0.984 GB, free: 10.21 MB / 0.7605 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.002375/0.6161, allocations: 2.031 MB / 0.9859 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009328/0.617, allocations: 0.7689 MB / 0.9867 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.617, allocations: 0 / 0.9867 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.6175, allocations: 492.2 kB / 0.9872 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.6184, allocations: 484.3 kB / 0.9876 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/0.6253, allocations: 7.072 MB / 0.9945 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.6256, allocations: 0.51 MB / 0.995 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005051/0.6261, allocations: 291.4 kB / 0.9953 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/0.6265, allocations: 475.2 kB / 0.9958 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.6265, allocations: 3.938 kB / 0.9958 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.6645, allocations: 28.01 MB / 1.023 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.273, allocations: 10.16 kB / 1.023 GB, free: 2.391 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.332080283202231] Failed to read output from testmodel.py, exit status != 0: 9.420494539663196 9.428787866 8.838804593 Calling exit ...