Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007295/0.0007295, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007275/0.0007275, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8206/0.8206, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.6722/0.6722, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.566e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002127/0.002152, allocations: 1.66 MB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.003416, allocations: 1.367 MB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.003484, allocations: 3.938 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.003694, allocations: 31.72 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.004063, allocations: 103.5 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.004343, allocations: 145.5 kB / 0.6225 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.004573, allocations: 253.5 kB / 0.6228 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.004665, allocations: 7.984 kB / 0.6228 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.004774, allocations: 119.8 kB / 0.6229 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.004915, allocations: 79.81 kB / 0.623 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.00494, allocations: 20 kB / 0.623 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.005109, allocations: 119.8 kB / 0.6231 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.005188, allocations: 87.73 kB / 0.6232 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.005249, allocations: 63.83 kB / 0.6233 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.005585, allocations: 354.8 kB / 0.6236 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005587, allocations: 0 / 0.6236 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005589, allocations: 0 / 0.6236 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.005594, allocations: 3.938 kB / 0.6236 GB, free: 8.762 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005778/0.006172, allocations: 485.6 kB / 0.6241 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.006208, allocations: 9.469 kB / 0.6241 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.006273, allocations: 32.73 kB / 0.6241 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.006491, allocations: 212.8 kB / 0.6243 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006507, allocations: 12.38 kB / 0.6243 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.006526, allocations: 16.38 kB / 0.6243 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.006806, allocations: 300.5 kB / 0.6246 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006814, allocations: 192 / 0.6246 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.006832, allocations: 8.125 kB / 0.6246 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006837, allocations: 4 kB / 0.6246 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.00734, allocations: 0.6865 MB / 0.6253 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.007878, allocations: 488.4 kB / 0.6258 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.008202, allocations: 280.2 kB / 0.626 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.0083, allocations: 93.38 kB / 0.6261 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.008335, allocations: 16.27 kB / 0.6261 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.008577, allocations: 181.4 kB / 0.6263 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.008578, allocations: 3.938 kB / 0.6263 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.0004479/0.009026, allocations: 377.8 kB / 0.6267 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.009079, allocations: 132.5 kB / 0.6268 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.009282, allocations: 321.7 kB / 0.6271 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.009302, allocations: 29.7 kB / 0.6271 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.009366, allocations: 128.7 kB / 0.6273 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.009426, allocations: 119 kB / 0.6274 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.009486, allocations: 61.69 kB / 0.6274 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.009571, allocations: 338.8 kB / 0.6278 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.009667, allocations: 83.95 kB / 0.6278 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.009806, allocations: 196.5 kB / 0.628 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.01006, allocations: 227.7 kB / 0.6282 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01006, allocations: 0 / 0.6282 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002895/0.01035, allocations: 277.2 kB / 0.6285 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01037, allocations: 4 kB / 0.6285 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01037, allocations: 0 / 0.6285 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01038, allocations: 4 kB / 0.6285 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.01054, allocations: 67.89 kB / 0.6286 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01054, allocations: 4 kB / 0.6286 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.01063, allocations: 31.78 kB / 0.6286 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01064, allocations: 11.98 kB / 0.6286 GB, free: 3.363 MB / 0.5886 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.0001112/0.01075, allocations: 166.7 kB / 0.6288 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.01079, allocations: 23.86 kB / 0.6288 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.01121, allocations: 380.9 kB / 0.6292 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01122, allocations: 7.938 kB / 0.6292 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01122, allocations: 3.938 kB / 0.6292 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01123, allocations: 7.984 kB / 0.6292 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.01141, allocations: 237 kB / 0.6294 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01141, allocations: 0 / 0.6294 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01151, allocations: 51.97 kB / 0.6295 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.01151, allocations: 4 kB / 0.6295 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01153, allocations: 12 kB / 0.6295 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01153, allocations: 3.938 kB / 0.6295 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01153, allocations: 0 / 0.6295 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.01183, allocations: 331.4 kB / 0.6298 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.01191, allocations: 71.67 kB / 0.6299 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.01193, allocations: 4 kB / 0.6299 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.012, allocations: 15.98 kB / 0.6299 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.01205, allocations: 23.95 kB / 0.6299 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.01207, allocations: 12 kB / 0.6299 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001393/0.01221, allocations: 241.2 kB / 0.6301 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01221, allocations: 4 kB / 0.6301 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002244/0.01243, allocations: 79.86 kB / 0.6302 GB, free: 1.656 MB / 0.5886 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.000766/0.0132, allocations: 489 kB / 0.6307 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.01348, allocations: 219.8 kB / 0.6309 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01348, allocations: 4 kB / 0.6309 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.0136, allocations: 115.8 kB / 0.631 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.01379, allocations: 36.42 kB / 0.6311 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.0144, allocations: 0.5399 MB / 0.6316 GB, free: 456 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.493e-05/0.0145, allocations: 150.9 kB / 0.6317 GB, free: 284 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.01458, allocations: 52.47 kB / 0.6318 GB, free: 232 kB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.01458, allocations: 4 kB / 0.6318 GB, free: 228 kB / 0.5886 GB Notification: Performance of Templates: time 0.005318/0.0199, allocations: 4.693 MB / 0.6364 GB, free: 11.57 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.236258756369352] Failed to read output from testmodel.py, exit status != 0: 0.025375529192388058 0.033768464000000005 0.026487836 Calling exit ...