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.001564/0.001564, 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.00177/0.00177, 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.773 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.8133/0.8133, allocations: 134 MB / 446.4 MB, free: 9.902 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.002048/0.002048, allocations: 68.62 kB / 0.6185 GB, free: 6.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1664, allocations: 85.91 MB / 0.7024 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003488/0.1699, allocations: 1.634 MB / 0.704 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1721, allocations: 1.363 MB / 0.7053 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.1722, allocations: 0 / 0.7053 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1724, allocations: 27.84 kB / 0.7053 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.1728, allocations: 111.1 kB / 0.7055 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1732, allocations: 136.6 kB / 0.7056 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1735, allocations: 237.6 kB / 0.7058 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1736, allocations: 19.92 kB / 0.7058 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1737, allocations: 83.81 kB / 0.7059 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.1739, allocations: 87.66 kB / 0.706 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.174, allocations: 16 kB / 0.706 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.1742, allocations: 115.9 kB / 0.7061 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1743, allocations: 83.8 kB / 0.7062 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1744, allocations: 87.45 kB / 0.7063 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.1748, allocations: 330.7 kB / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1748, allocations: 0 / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1748, allocations: 0 / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1748, allocations: 0 / 0.7066 GB, free: 12.83 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.0008138/0.1757, allocations: 497.6 kB / 0.7071 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1757, allocations: 8.031 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.1758, allocations: 46.73 kB / 0.7071 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.27e-05/0.1758, allocations: 36.69 kB / 0.7072 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1761, allocations: 209.1 kB / 0.7074 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1762, allocations: 12.38 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.1762, allocations: 24.3 kB / 0.7074 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.1766, allocations: 294.9 kB / 0.7077 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1766, allocations: 0 / 0.7077 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.1766, allocations: 8 kB / 0.7077 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1766, allocations: 0 / 0.7077 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008776/0.1775, allocations: 0.6865 MB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008898/0.1784, allocations: 0.5076 MB / 0.7088 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.1789, allocations: 276.2 kB / 0.7091 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1791, allocations: 101.4 kB / 0.7092 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.1791, allocations: 16.27 kB / 0.7092 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000381/0.1795, allocations: 173.5 kB / 0.7094 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.1795, allocations: 0 / 0.7094 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.0006925/0.1802, allocations: 369.8 kB / 0.7097 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.1803, allocations: 132.5 kB / 0.7099 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.1806, allocations: 324.9 kB / 0.7102 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1806, allocations: 33.7 kB / 0.7102 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.1807, allocations: 128.8 kB / 0.7103 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.1808, allocations: 115 kB / 0.7104 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.1809, allocations: 61.69 kB / 0.7105 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1811, allocations: 342.8 kB / 0.7108 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1812, allocations: 84.11 kB / 0.7109 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1815, allocations: 204.5 kB / 0.7111 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.1818, allocations: 213.1 kB / 0.7113 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1818, allocations: 0 / 0.7113 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000449/0.1823, allocations: 285.2 kB / 0.7116 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1823, allocations: 6.344 kB / 0.7116 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1823, allocations: 4 kB / 0.7116 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1823, allocations: 0 / 0.7116 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.1825, allocations: 63.91 kB / 0.7117 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1825, allocations: 0 / 0.7117 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.1827, allocations: 27.83 kB / 0.7117 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.1827, allocations: 11.94 kB / 0.7117 GB, free: 7.344 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.0001549/0.1828, allocations: 165.7 kB / 0.7118 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.1829, allocations: 31.84 kB / 0.7119 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006834/0.1836, allocations: 380.9 kB / 0.7122 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1836, allocations: 4 kB / 0.7122 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1836, allocations: 4 kB / 0.7122 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1836, allocations: 0 / 0.7122 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.1839, allocations: 276.4 kB / 0.7125 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1839, allocations: 48 / 0.7125 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.1841, allocations: 59.95 kB / 0.7126 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1841, allocations: 0 / 0.7126 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1841, allocations: 15.94 kB / 0.7126 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1841, allocations: 4 kB / 0.7126 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1841, allocations: 3.938 kB / 0.7126 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.1846, allocations: 327.4 kB / 0.7129 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1847, allocations: 75.67 kB / 0.713 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.1848, allocations: 4 kB / 0.713 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1849, allocations: 19.98 kB / 0.713 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.185, allocations: 19.95 kB / 0.713 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.185, allocations: 19.98 kB / 0.713 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002271/0.1852, allocations: 236.4 kB / 0.7133 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1852, allocations: 0 / 0.7133 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003174/0.1855, allocations: 71.92 kB / 0.7133 GB, free: 5.578 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.002283/0.1878, allocations: 1.248 MB / 0.7145 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.1883, allocations: 219.7 kB / 0.7148 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1883, allocations: 0 / 0.7148 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.1885, allocations: 112.5 kB / 0.7149 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1887, allocations: 35.16 kB / 0.7149 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.192, allocations: 2.507 MB / 0.7173 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.1921, allocations: 146.8 kB / 0.7175 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000336/0.1925, allocations: 146.9 kB / 0.7176 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.1926, allocations: 91.39 kB / 0.7177 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.1926, allocations: 0 / 0.7177 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.2406, allocations: 6.568 MB / 0.7241 GB, free: 10.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.96, allocations: 10.42 kB / 0.7241 GB, free: 10.67 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 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.640710066072643] Failed to read output from testmodel.py, exit status != 0: 11.166204140055925 11.18845055 11.009398074 Calling exit ...