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.001339/0.001339, allocations: 103.8 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.002498/0.002498, 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.9921/0.9921, allocations: 134 MB / 442.8 MB, free: 11.26 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.001913/0.001913, allocations: 63.53 kB / 0.6134 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1635, allocations: 85.85 MB / 0.6973 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002985/0.1665, allocations: 1.662 MB / 0.6989 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1684, allocations: 1.293 MB / 0.7002 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.1685, allocations: 7.938 kB / 0.7002 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1687, allocations: 27.8 kB / 0.7002 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.169, allocations: 107.5 kB / 0.7003 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1694, allocations: 135.2 kB / 0.7004 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.1697, allocations: 241.4 kB / 0.7007 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.1698, allocations: 15.94 kB / 0.7007 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1699, allocations: 87.81 kB / 0.7008 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1701, allocations: 99.64 kB / 0.7009 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.1701, allocations: 16 kB / 0.7009 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.1703, allocations: 123.9 kB / 0.701 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.1704, allocations: 75.81 kB / 0.7011 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1705, allocations: 111.3 kB / 0.7012 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.1709, allocations: 334.7 kB / 0.7015 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.171, allocations: 0 / 0.7015 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.171, allocations: 0 / 0.7015 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.171, allocations: 0 / 0.7015 GB, free: 14.62 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.000847/0.1718, allocations: 0.5534 MB / 0.702 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1718, allocations: 9.109 kB / 0.702 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.1719, allocations: 50.73 kB / 0.7021 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.172, allocations: 28.75 kB / 0.7021 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1723, allocations: 270.9 kB / 0.7024 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1723, allocations: 16.38 kB / 0.7024 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1723, allocations: 12.38 kB / 0.7024 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.1727, allocations: 220.7 kB / 0.7026 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1727, allocations: 0 / 0.7026 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.1727, allocations: 8 kB / 0.7026 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1728, allocations: 4 kB / 0.7026 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.1737, allocations: 0.7334 MB / 0.7033 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.1746, allocations: 0.5709 MB / 0.7039 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.1751, allocations: 279.6 kB / 0.7042 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1753, allocations: 89.38 kB / 0.7042 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.1754, allocations: 24.25 kB / 0.7043 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.1757, allocations: 172.9 kB / 0.7044 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.1757, allocations: 0 / 0.7044 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.0007288/0.1765, allocations: 373.8 kB / 0.7048 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.1766, allocations: 132.5 kB / 0.7049 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1769, allocations: 316.9 kB / 0.7052 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.1769, allocations: 29.7 kB / 0.7052 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.177, allocations: 124.8 kB / 0.7054 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1771, allocations: 127 kB / 0.7055 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1772, allocations: 65.69 kB / 0.7055 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1774, allocations: 342.7 kB / 0.7059 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1776, allocations: 88.05 kB / 0.706 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.1778, allocations: 124.3 kB / 0.7061 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1781, allocations: 217.1 kB / 0.7063 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1781, allocations: 0 / 0.7063 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004879/0.1786, allocations: 285 kB / 0.7066 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1786, allocations: 11.98 kB / 0.7066 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1787, allocations: 0 / 0.7066 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1787, allocations: 0 / 0.7066 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1789, allocations: 59.91 kB / 0.7066 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1789, allocations: 0 / 0.7066 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.1791, allocations: 27.83 kB / 0.7066 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.1791, allocations: 19.94 kB / 0.7067 GB, free: 9.027 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.0001618/0.1793, allocations: 153.8 kB / 0.7068 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.1793, allocations: 35.86 kB / 0.7068 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.1801, allocations: 380.8 kB / 0.7072 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1801, allocations: 4 kB / 0.7072 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1801, allocations: 0 / 0.7072 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1801, allocations: 0 / 0.7072 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.1804, allocations: 329.3 kB / 0.7075 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1804, allocations: 0 / 0.7075 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.1806, allocations: 63.91 kB / 0.7076 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1806, allocations: 0 / 0.7076 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1807, allocations: 12 kB / 0.7076 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1807, allocations: 7.984 kB / 0.7076 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1807, allocations: 0 / 0.7076 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.1812, allocations: 331.1 kB / 0.7079 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1813, allocations: 144.8 kB / 0.7081 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.1814, allocations: 4 kB / 0.7081 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1815, allocations: 19.98 kB / 0.7081 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.1816, allocations: 23.95 kB / 0.7081 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1816, allocations: 12 kB / 0.7081 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002565/0.1819, allocations: 244.4 kB / 0.7084 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 4 kB / 0.7084 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003312/0.1822, allocations: 75.86 kB / 0.7084 GB, free: 7.113 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.002354/0.1846, allocations: 1.212 MB / 0.7096 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.185, allocations: 219.7 kB / 0.7098 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.185, allocations: 4 kB / 0.7098 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.1852, allocations: 112.4 kB / 0.7099 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1855, allocations: 40.16 kB / 0.71 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.1888, allocations: 2.503 MB / 0.7124 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.1894, allocations: 0.7535 MB / 0.7132 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003509/0.1897, allocations: 150.8 kB / 0.7133 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.1899, allocations: 91.39 kB / 0.7134 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.1899, allocations: 0 / 0.7134 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.2241, allocations: 5.971 MB / 0.7192 GB, free: 12.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.439, allocations: 14.78 kB / 0.7192 GB, free: 12.19 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.559023025009083] Failed to read output from testmodel.py, exit status != 0: 8.606479693000438 8.622679986 8.448919318 Calling exit ...