Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001312/0.001312, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001394/0.001394, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.797 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.8186/0.8186, allocations: 134 MB / 446.4 MB, free: 9.926 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.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001952/0.001952, allocations: 65.52 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1702, allocations: 85.91 MB / 0.7024 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003326/0.1735, allocations: 1.643 MB / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1756, allocations: 1.364 MB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.1757, allocations: 4 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1759, allocations: 27.78 kB / 0.7054 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.1762, allocations: 108.5 kB / 0.7055 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1766, allocations: 139.4 kB / 0.7056 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1769, allocations: 233.6 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.177, allocations: 19.97 kB / 0.7058 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1771, allocations: 79.77 kB / 0.7059 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1773, allocations: 95.64 kB / 0.706 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1773, allocations: 16 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.1775, allocations: 111.9 kB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1776, allocations: 83.8 kB / 0.7062 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.1777, allocations: 91.45 kB / 0.7063 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.1781, allocations: 326.7 kB / 0.7066 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1781, allocations: 0 / 0.7066 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1782, allocations: 0 / 0.7066 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1782, allocations: 0 / 0.7066 GB, free: 12.74 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007998/0.179, allocations: 493.6 kB / 0.7071 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.179, allocations: 16.02 kB / 0.7071 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.1791, allocations: 50.69 kB / 0.7071 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.1791, allocations: 32.73 kB / 0.7072 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1794, allocations: 209.1 kB / 0.7074 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1795, allocations: 12.38 kB / 0.7074 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1795, allocations: 12.38 kB / 0.7074 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.1799, allocations: 302.9 kB / 0.7077 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1799, allocations: 0 / 0.7077 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1799, allocations: 12 kB / 0.7077 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1799, allocations: 4 kB / 0.7077 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.1808, allocations: 0.6787 MB / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.1818, allocations: 0.5154 MB / 0.7089 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.1822, allocations: 280.3 kB / 0.7091 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1824, allocations: 89.38 kB / 0.7092 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.1824, allocations: 20.27 kB / 0.7092 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.1828, allocations: 173.5 kB / 0.7094 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.1828, allocations: 0 / 0.7094 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.0006979/0.1835, allocations: 369.8 kB / 0.7097 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/0.1836, allocations: 132.5 kB / 0.7099 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.1839, allocations: 320.9 kB / 0.7102 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.184, allocations: 37.7 kB / 0.7102 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.1841, allocations: 120.8 kB / 0.7103 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1842, allocations: 115 kB / 0.7104 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.1843, allocations: 65.69 kB / 0.7105 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1845, allocations: 342.8 kB / 0.7108 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1846, allocations: 84.11 kB / 0.7109 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.1849, allocations: 200.5 kB / 0.7111 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.1852, allocations: 217.1 kB / 0.7113 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1852, allocations: 0 / 0.7113 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004541/0.1857, allocations: 277.2 kB / 0.7116 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1857, allocations: 11.94 kB / 0.7116 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1857, allocations: 4 kB / 0.7116 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1857, allocations: 0 / 0.7116 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.1859, allocations: 63.89 kB / 0.7117 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1859, allocations: 0 / 0.7117 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1861, allocations: 23.84 kB / 0.7117 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.1861, allocations: 27.86 kB / 0.7117 GB, free: 7.238 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 (35): * Single equations (assignments): 35 * 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.0001592/0.1863, allocations: 157.8 kB / 0.7118 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.1863, allocations: 27.86 kB / 0.7119 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.187, allocations: 380.9 kB / 0.7122 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.187, allocations: 7.938 kB / 0.7122 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.187, allocations: 4 kB / 0.7123 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.187, allocations: 3.984 kB / 0.7123 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.1873, allocations: 272.5 kB / 0.7125 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1873, allocations: 3.984 kB / 0.7125 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1875, allocations: 47.98 kB / 0.7126 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1875, allocations: 0 / 0.7126 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1875, allocations: 15.98 kB / 0.7126 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1875, allocations: 3.938 kB / 0.7126 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1875, allocations: 0 / 0.7126 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.188, allocations: 331.4 kB / 0.7129 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1882, allocations: 71.67 kB / 0.713 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.1882, allocations: 8 kB / 0.713 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1883, allocations: 15.98 kB / 0.713 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1884, allocations: 23.95 kB / 0.713 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.1884, allocations: 12 kB / 0.713 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000251/0.1887, allocations: 244.4 kB / 0.7133 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1887, allocations: 0 / 0.7133 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003029/0.189, allocations: 75.86 kB / 0.7133 GB, free: 5.484 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 (34): * Single equations (assignments): 33 * 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.002266/0.1912, allocations: 1.242 MB / 0.7145 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.1916, allocations: 219.8 kB / 0.7148 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1916, allocations: 0 / 0.7148 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.1918, allocations: 116.4 kB / 0.7149 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1921, allocations: 40.28 kB / 0.7149 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.1951, allocations: 2.507 MB / 0.7173 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.1952, allocations: 142.9 kB / 0.7175 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003242/0.1955, allocations: 150.8 kB / 0.7176 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1957, allocations: 91.39 kB / 0.7177 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1957, allocations: 0 / 0.7177 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.2312, allocations: 6.569 MB / 0.7241 GB, free: 10.58 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.32, allocations: 2.234 kB / 0.7241 GB, free: 10.58 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.920216572936624] Failed to read output from testmodel.py, exit status != 0: 11.523963584098965 11.548296317 11.365589729 Calling exit ...