Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001231/0.001231, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001309/0.001309, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 9.008 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.8514/0.8514, allocations: 134 MB / 442.8 MB, free: 11.36 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001954/0.001954, allocations: 67.16 kB / 0.6134 GB, free: 8.789 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 85.85 MB / 0.6973 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003627/0.1819, allocations: 1.901 MB / 0.6991 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1847, allocations: 1.752 MB / 0.7008 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.1848, allocations: 4 kB / 0.7009 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.185, allocations: 39.77 kB / 0.7009 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.1854, allocations: 111.4 kB / 0.701 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1859, allocations: 173.1 kB / 0.7012 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.1862, allocations: 285.4 kB / 0.7014 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1864, allocations: 25.39 kB / 0.7015 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1865, allocations: 103.7 kB / 0.7016 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.1868, allocations: 103.7 kB / 0.7017 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.1868, allocations: 27.94 kB / 0.7017 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.1871, allocations: 139.9 kB / 0.7018 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1872, allocations: 95.72 kB / 0.7019 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1873, allocations: 115.3 kB / 0.702 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1878, allocations: 370.5 kB / 0.7024 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1878, allocations: 0 / 0.7024 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1878, allocations: 0 / 0.7024 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.1878, allocations: 0 / 0.7024 GB, free: 13.78 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009133/0.1887, allocations: 0.5922 MB / 0.7029 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1888, allocations: 17.11 kB / 0.703 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.1888, allocations: 50.73 kB / 0.703 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.189, allocations: 40.73 kB / 0.7031 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.1893, allocations: 278.9 kB / 0.7033 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1894, allocations: 8.375 kB / 0.7033 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1894, allocations: 23.94 kB / 0.7033 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.1898, allocations: 236.7 kB / 0.7036 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1898, allocations: 4 kB / 0.7036 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.1898, allocations: 4 kB / 0.7036 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1899, allocations: 4 kB / 0.7036 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1909, allocations: 0.7451 MB / 0.7043 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1921, allocations: 0.6291 MB / 0.7049 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.1926, allocations: 286 kB / 0.7052 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.1928, allocations: 105.4 kB / 0.7053 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.1929, allocations: 16.25 kB / 0.7053 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.1933, allocations: 183.4 kB / 0.7055 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 4.94e-06/0.1933, allocations: 3.984 kB / 0.7055 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0007502/0.194, allocations: 378.9 kB / 0.7059 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.1941, allocations: 140.4 kB / 0.706 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.1945, allocations: 321 kB / 0.7063 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.1946, allocations: 37.7 kB / 0.7063 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1947, allocations: 132.7 kB / 0.7065 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1948, allocations: 123 kB / 0.7066 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1949, allocations: 65.69 kB / 0.7066 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1951, allocations: 338.8 kB / 0.707 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1952, allocations: 79.95 kB / 0.707 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.1954, allocations: 135.5 kB / 0.7072 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.1958, allocations: 216.6 kB / 0.7074 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1958, allocations: 0 / 0.7074 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004951/0.1963, allocations: 281.8 kB / 0.7076 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1963, allocations: 4 kB / 0.7076 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1963, allocations: 0 / 0.7076 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.1964, allocations: 11.88 kB / 0.7077 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.1966, allocations: 59.91 kB / 0.7077 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1966, allocations: 4 kB / 0.7077 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1968, allocations: 31.83 kB / 0.7077 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1968, allocations: 15.98 kB / 0.7078 GB, free: 7.965 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.197, allocations: 171 kB / 0.7079 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.1971, allocations: 27.81 kB / 0.708 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.1978, allocations: 392.5 kB / 0.7083 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1978, allocations: 4 kB / 0.7083 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1978, allocations: 0 / 0.7083 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1978, allocations: 3.984 kB / 0.7083 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1983, allocations: 341.3 kB / 0.7087 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1983, allocations: 4 kB / 0.7087 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.1985, allocations: 59.91 kB / 0.7087 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.1985, allocations: 4 kB / 0.7087 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1985, allocations: 11.94 kB / 0.7087 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1985, allocations: 0 / 0.7087 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1985, allocations: 0 / 0.7087 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.1991, allocations: 330.3 kB / 0.7091 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.1992, allocations: 144.8 kB / 0.7092 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.1993, allocations: 15.92 kB / 0.7092 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.1995, allocations: 23.98 kB / 0.7092 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.1995, allocations: 23.97 kB / 0.7092 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.1996, allocations: 19.98 kB / 0.7093 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002866/0.1999, allocations: 244.4 kB / 0.7095 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.7095 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003573/0.2002, allocations: 83.86 kB / 0.7096 GB, free: 6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002433/0.2027, allocations: 1.212 MB / 0.7108 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.2031, allocations: 232.1 kB / 0.711 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2031, allocations: 4 kB / 0.711 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2034, allocations: 123.8 kB / 0.7111 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2037, allocations: 40.36 kB / 0.7111 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.2071, allocations: 2.561 MB / 0.7136 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.2076, allocations: 0.7692 MB / 0.7144 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003507/0.2079, allocations: 155 kB / 0.7145 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.2081, allocations: 103.4 kB / 0.7146 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.2081, allocations: 0 / 0.7146 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.2426, allocations: 6.526 MB / 0.721 GB, free: 10.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.765, allocations: 16.56 kB / 0.721 GB, free: 10.47 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.442746467990219] Failed to read output from testmodel.py, exit status != 0: 8.935302965008304 8.950725614 8.759737694 Calling exit ...