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.000758/0.000758, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007377/0.0007377, 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.8424/0.8424, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6741/0.6741, allocations: 154.6 MB / 414.5 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6193 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.63e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002149/0.002175, allocations: 1.67 MB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003391, allocations: 1.367 MB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.003446, allocations: 0 / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.003645, allocations: 31.7 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.003939, allocations: 107.4 kB / 0.6224 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.004181, allocations: 146.2 kB / 0.6226 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.004429, allocations: 245.5 kB / 0.6228 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.004528, allocations: 19.92 kB / 0.6228 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.00463, allocations: 115.8 kB / 0.623 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.004757, allocations: 83.75 kB / 0.623 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.004787, allocations: 16 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.004924, allocations: 119.8 kB / 0.6232 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.004996, allocations: 83.81 kB / 0.6232 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.005057, allocations: 71.75 kB / 0.6233 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.005363, allocations: 350.8 kB / 0.6236 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005366, allocations: 4 kB / 0.6236 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005367, allocations: 0 / 0.6236 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.005371, allocations: 0 / 0.6236 GB, free: 8.672 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.0005946/0.005965, allocations: 485.6 kB / 0.6241 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.005998, allocations: 8.031 kB / 0.6241 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.006056, allocations: 32.75 kB / 0.6241 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.006259, allocations: 212.8 kB / 0.6244 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.006275, allocations: 16.38 kB / 0.6244 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.006294, allocations: 12.38 kB / 0.6244 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.006563, allocations: 299 kB / 0.6247 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006571, allocations: 192 / 0.6247 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.006588, allocations: 8.125 kB / 0.6247 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.006593, allocations: 4 kB / 0.6247 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.007114, allocations: 0.692 MB / 0.6254 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.007635, allocations: 488.4 kB / 0.6258 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.007962, allocations: 284.2 kB / 0.6261 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.008062, allocations: 97.38 kB / 0.6262 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.008093, allocations: 16.27 kB / 0.6262 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.008304, allocations: 176.9 kB / 0.6264 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.182e-06/0.008305, allocations: 0 / 0.6264 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.0004559/0.008761, allocations: 375.5 kB / 0.6267 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.008813, allocations: 132.5 kB / 0.6268 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.009014, allocations: 317.7 kB / 0.6272 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.009033, allocations: 29.7 kB / 0.6272 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.009098, allocations: 128.7 kB / 0.6273 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.009158, allocations: 111 kB / 0.6274 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.009217, allocations: 65.69 kB / 0.6275 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.009302, allocations: 346.8 kB / 0.6278 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.028e-05/0.009393, allocations: 75.95 kB / 0.6279 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.009535, allocations: 209 kB / 0.6281 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.009757, allocations: 223 kB / 0.6283 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.00976, allocations: 7.938 kB / 0.6283 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002708/0.01003, allocations: 273.3 kB / 0.6286 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.01004, allocations: 4 kB / 0.6286 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01005, allocations: 0 / 0.6286 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01006, allocations: 4 kB / 0.6286 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.0102, allocations: 59.91 kB / 0.6286 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.0102, allocations: 4 kB / 0.6286 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.01028, allocations: 35.7 kB / 0.6287 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01029, allocations: 15.98 kB / 0.6287 GB, free: 3.27 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.0001044/0.0104, allocations: 166.7 kB / 0.6288 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.01043, allocations: 23.86 kB / 0.6289 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.01083, allocations: 384.8 kB / 0.6292 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01083, allocations: 4 kB / 0.6292 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01084, allocations: 0 / 0.6292 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01084, allocations: 3.984 kB / 0.6292 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.01102, allocations: 233 kB / 0.6295 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01102, allocations: 0 / 0.6295 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01112, allocations: 59.91 kB / 0.6295 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.01112, allocations: 8 kB / 0.6295 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01114, allocations: 11.98 kB / 0.6295 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01114, allocations: 0 / 0.6295 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01114, allocations: 0 / 0.6295 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.01143, allocations: 326.6 kB / 0.6298 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.0115, allocations: 63.73 kB / 0.6299 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01153, allocations: 8 kB / 0.6299 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.01159, allocations: 22.66 kB / 0.6299 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.01164, allocations: 23.95 kB / 0.63 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.01166, allocations: 12 kB / 0.63 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001337/0.01179, allocations: 249.2 kB / 0.6302 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01179, allocations: 0 / 0.6302 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001948/0.01198, allocations: 71.86 kB / 0.6303 GB, free: 1.578 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.0007143/0.0127, allocations: 487.9 kB / 0.6307 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.01296, allocations: 228 kB / 0.631 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01297, allocations: 0 / 0.631 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.01309, allocations: 123.8 kB / 0.6311 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.01326, allocations: 46.22 kB / 0.6311 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.01381, allocations: 0.536 MB / 0.6316 GB, free: 364 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.0139, allocations: 154.9 kB / 0.6318 GB, free: 184 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.01397, allocations: 56.41 kB / 0.6318 GB, free: 128 kB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.01397, allocations: 0 / 0.6318 GB, free: 128 kB / 0.5886 GB Notification: Performance of Templates: time 0.004224/0.0182, allocations: 4.693 MB / 0.6364 GB, free: 11.47 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.21010151039809] Failed to read output from testmodel.py, exit status != 0: 0.022891368716955185 0.030196178 0.023168486000000002 Calling exit ...