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.0008108/0.0008108, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000885/0.000885, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9229/0.9229, allocations: 230.6 MB / 256 MB, free: 9.809 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.7596/0.7596, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001319/0.001319, allocations: 62 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.463, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005736/0.4688, allocations: 5.737 MB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1346/0.6033, allocations: 154.4 MB / 0.9742 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.6044, allocations: 35.62 kB / 0.9743 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.6053, allocations: 377.4 kB / 0.9746 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.6069, allocations: 0.5776 MB / 0.9752 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.6085, allocations: 0.9207 MB / 0.9761 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.6099, allocations: 1.578 MB / 0.9776 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.6105, allocations: 0.5029 MB / 0.9781 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.611, allocations: 0.5722 MB / 0.9787 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.6117, allocations: 0.5831 MB / 0.9793 GB, free: 136 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.6118, allocations: 136 kB / 0.9794 GB, free: 0 / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.6126, allocations: 0.5231 MB / 0.9799 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.6128, allocations: 338.8 kB / 0.9802 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.6132, allocations: 0.6683 MB / 0.9809 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.6148, allocations: 1.979 MB / 0.9828 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6148, allocations: 0 / 0.9828 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6148, allocations: 4 kB / 0.9828 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.6149, allocations: 0 / 0.9828 GB, free: 12.48 MB / 0.7605 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.001877/0.6167, allocations: 1.675 MB / 0.9844 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6168, allocations: 12.03 kB / 0.9845 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.6169, allocations: 156.4 kB / 0.9846 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.6177, allocations: 271.8 kB / 0.9849 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6188, allocations: 0.8463 MB / 0.9857 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.6188, allocations: 70 kB / 0.9858 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.6189, allocations: 99.98 kB / 0.9859 GB, free: 9.293 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.6202, allocations: 1.028 MB / 0.9869 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6202, allocations: 3.938 kB / 0.9869 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.6202, allocations: 55.92 kB / 0.9869 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.6202, allocations: 24 kB / 0.9869 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.6214, allocations: 1.167 MB / 0.9881 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.6245, allocations: 3.009 MB / 0.991 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/0.6254, allocations: 0.7455 MB / 0.9917 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.6257, allocations: 274.6 kB / 0.992 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-05/0.6258, allocations: 32.59 kB / 0.992 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/0.6264, allocations: 492.8 kB / 0.9925 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=78): time 1.773e-06/0.6264, allocations: 0 / 0.9925 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of matching and sorting (n=78): time 0.001973/0.6283, allocations: 1.138 MB / 0.9936 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.6284, allocations: 188.6 kB / 0.9938 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007701/0.6292, allocations: 0.8264 MB / 0.9946 GB, free: 60 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.6292, allocations: 37.7 kB / 0.9946 GB, free: 16 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.6295, allocations: 0.5281 MB / 0.9952 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.6297, allocations: 265.8 kB / 0.9954 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.6298, allocations: 146.6 kB / 0.9955 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.6299, allocations: 337.9 kB / 0.9959 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.6302, allocations: 241.9 kB / 0.9961 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.6306, allocations: 362.5 kB / 0.9964 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.6313, allocations: 0.5761 MB / 0.997 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6313, allocations: 3.938 kB / 0.997 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001154/0.6324, allocations: 0.8139 MB / 0.9978 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6324, allocations: 8 kB / 0.9978 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6325, allocations: 4.094 kB / 0.9978 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/0.6328, allocations: 84.7 kB / 0.9979 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.6331, allocations: 151.8 kB / 0.998 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.6345, allocations: 1.545 MB / 0.9996 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.6349, allocations: 99.48 kB / 0.9996 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.635, allocations: 31.98 kB / 0.9997 GB, free: 10.66 MB / 0.7761 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.0006127/0.6356, allocations: 294.3 kB / 1 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.6357, allocations: 107.3 kB / 1 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.6372, allocations: 1.076 MB / 1.001 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.6372, allocations: 11.94 kB / 1.001 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6372, allocations: 4 kB / 1.001 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6372, allocations: 3.984 kB / 1.001 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/0.6382, allocations: 1.001 MB / 1.002 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6382, allocations: 0 / 1.002 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.6385, allocations: 139.8 kB / 1.002 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.6387, allocations: 76.78 kB / 1.002 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.6388, allocations: 23.98 kB / 1.002 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.6401, allocations: 1.578 MB / 1.004 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6401, allocations: 0 / 1.004 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.6414, allocations: 0.9479 MB / 1.005 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.6417, allocations: 219 kB / 1.005 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.6418, allocations: 23.94 kB / 1.005 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.6421, allocations: 59.92 kB / 1.005 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6422, allocations: 80.8 kB / 1.005 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.6422, allocations: 35.98 kB / 1.005 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005352/0.6428, allocations: 0.5743 MB / 1.006 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.6428, allocations: 0 / 1.006 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007615/0.6435, allocations: 347 kB / 1.006 GB, free: 3.871 MB / 0.7761 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.002498/0.646, allocations: 1.999 MB / 1.008 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.6472, allocations: 0.7648 MB / 1.009 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6472, allocations: 0 / 1.009 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.6477, allocations: 0.4925 MB / 1.009 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.6487, allocations: 480.4 kB / 1.01 GB, free: 348 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008285/0.657, allocations: 7.061 MB / 1.017 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.6575, allocations: 1.106 MB / 1.018 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006765/0.6582, allocations: 291.8 kB / 1.018 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.6586, allocations: 475.2 kB / 1.018 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of SimCode: time 1.282e-06/0.6586, allocations: 0 / 1.018 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04395/0.7026, allocations: 26.71 MB / 1.045 GB, free: 12.69 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.146/9.849, allocations: 9.891 kB / 1.045 GB, free: 12.68 MB / 0.823 GB " [Timeout remaining time 650] (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.84553561010398] Failed to read output from testmodel.py, exit status != 0: 9.997153572039679 10.007031096 9.389931867 Calling exit ...