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.001367/0.001367, allocations: 81.16 kB / 19.18 MB, free: 2.516 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.001756/0.001756, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 1.221/1.221, allocations: 154.5 MB / 413.7 MB, free: 5.309 MB / 382.1 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 178] 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.944e-06/1.944e-06, allocations: 0 / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.819e-05/4.014e-05, allocations: 3.125 kB / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003544/0.003585, allocations: 1.667 MB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.005827, allocations: 1.372 MB / 0.6215 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.005904, allocations: 0 / 0.6215 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.006171, allocations: 34.33 kB / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.006635, allocations: 105.9 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.007032, allocations: 142.6 kB / 0.6218 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.007373, allocations: 249.4 kB / 0.622 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.007484, allocations: 19.98 kB / 0.622 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.007645, allocations: 115.8 kB / 0.6221 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.007843, allocations: 83.81 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.007886, allocations: 16 kB / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.008099, allocations: 123.8 kB / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.00823, allocations: 75.81 kB / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.008334, allocations: 67.75 kB / 0.6225 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.008808, allocations: 354.8 kB / 0.6228 GB, free: 216 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.008813, allocations: 0 / 0.6228 GB, free: 216 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.008814, allocations: 0 / 0.6228 GB, free: 216 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.00882, allocations: 4 kB / 0.6228 GB, free: 212 kB / 0.5294 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.0008614/0.009681, allocations: 485.6 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.009719, allocations: 17.41 kB / 0.6233 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.009805, allocations: 32.69 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.01013, allocations: 216.8 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.01015, allocations: 8.375 kB / 0.6236 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.01019, allocations: 16.38 kB / 0.6236 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.01066, allocations: 292.6 kB / 0.6238 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01067, allocations: 192 / 0.6238 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.0107, allocations: 12.12 kB / 0.6239 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.01071, allocations: 8 kB / 0.6239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/0.01162, allocations: 0.6865 MB / 0.6245 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.01244, allocations: 488.1 kB / 0.625 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.01295, allocations: 276.2 kB / 0.6253 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.01311, allocations: 101.3 kB / 0.6254 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.01316, allocations: 20.27 kB / 0.6254 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.01352, allocations: 169.5 kB / 0.6255 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.01352, allocations: 4 kB / 0.6255 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.000756/0.01428, allocations: 369.8 kB / 0.6259 GB, free: 12.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.01436, allocations: 136.5 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.01473, allocations: 329.5 kB / 0.6263 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.01477, allocations: 29.7 kB / 0.6264 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01489, allocations: 128.7 kB / 0.6265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.01503, allocations: 111.1 kB / 0.6266 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.01515, allocations: 65.64 kB / 0.6267 GB, free: 12.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.01535, allocations: 338.8 kB / 0.627 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01552, allocations: 79.95 kB / 0.6271 GB, free: 11.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.01583, allocations: 212.3 kB / 0.6273 GB, free: 11.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.01626, allocations: 211 kB / 0.6275 GB, free: 11.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01626, allocations: 4 kB / 0.6275 GB, free: 11.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005572/0.01682, allocations: 289 kB / 0.6277 GB, free: 10.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.01685, allocations: 4 kB / 0.6278 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.01686, allocations: 4 kB / 0.6278 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.01689, allocations: 0 / 0.6278 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.01718, allocations: 59.97 kB / 0.6278 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.01719, allocations: 3.938 kB / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.01737, allocations: 31.77 kB / 0.6278 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.0174, allocations: 15.94 kB / 0.6279 GB, free: 10.8 MB / 0.545 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.0002383/0.01764, allocations: 166.7 kB / 0.628 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.0177, allocations: 31.86 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007979/0.0185, allocations: 384.8 kB / 0.6284 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.0185, allocations: 8 kB / 0.6284 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01851, allocations: 0 / 0.6284 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01852, allocations: 0 / 0.6284 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.01886, allocations: 237 kB / 0.6287 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01886, allocations: 0 / 0.6287 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.01905, allocations: 59.91 kB / 0.6287 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01905, allocations: 0 / 0.6287 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.01908, allocations: 11.98 kB / 0.6287 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01908, allocations: 0 / 0.6287 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.01909, allocations: 4 kB / 0.6287 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.01962, allocations: 327.4 kB / 0.629 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.01976, allocations: 67.73 kB / 0.6291 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.01981, allocations: 11.98 kB / 0.6291 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.01995, allocations: 8 kB / 0.6291 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.02005, allocations: 35.88 kB / 0.6292 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.02008, allocations: 8 kB / 0.6292 GB, free: 9.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002455/0.02032, allocations: 245.2 kB / 0.6294 GB, free: 9.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.02032, allocations: 0 / 0.6294 GB, free: 9.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003248/0.02065, allocations: 71.88 kB / 0.6295 GB, free: 9.09 MB / 0.545 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.001757/0.02241, allocations: 498.1 kB / 0.6299 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004533/0.02286, allocations: 219.8 kB / 0.6301 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02286, allocations: 0 / 0.6301 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.02306, allocations: 115.9 kB / 0.6303 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.02337, allocations: 38.92 kB / 0.6303 GB, free: 8.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.02426, allocations: 0.511 MB / 0.6308 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.02441, allocations: 146.8 kB / 0.6309 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.02473, allocations: 146.9 kB / 0.6311 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.02484, allocations: 44.47 kB / 0.6311 GB, free: 7.562 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.02484, allocations: 4 kB / 0.6311 GB, free: 7.559 MB / 0.545 GB Notification: Performance of Templates: time 0.008791/0.03363, allocations: 3.388 MB / 0.6344 GB, free: 4.23 MB / 0.545 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: 6.0357952527701855] Failed to read output from testmodel.py, exit status != 0: 0.04294366389513016 0.05708448000000001 0.04528572 Calling exit ...