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.0006906/0.0006906, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001779, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001137/0.001137, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002467, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9825/0.9825, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08773/1.07, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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-545:108: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-545:116: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.7652/0.7652, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2865/1.052, allocations: 49.04 MB / 447.8 MB, free: 6.598 MB / 426.7 MB " [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.653e-06/1.653e-06, allocations: 1.094 kB / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.388e-05, allocations: 4.984 kB / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003478/0.003502, allocations: 1.763 MB / 450.9 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.00564, allocations: 1.45 MB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.005729, allocations: 0 / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.0059, allocations: 32.59 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.006286, allocations: 113.8 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.006674, allocations: 129.3 kB / 452.7 MB, free: 1.812 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.007017, allocations: 252.5 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.007115, allocations: 12.97 kB / 452.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02869/0.03581, allocations: 9.396 MB / 462.3 MB, free: 10.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.03596, allocations: 73.7 kB / 462.4 MB, free: 10.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.036, allocations: 16 kB / 462.4 MB, free: 10.65 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.03627, allocations: 63.86 kB / 462.5 MB, free: 10.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.03634, allocations: 67.8 kB / 462.5 MB, free: 10.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.0364, allocations: 43.88 kB / 462.6 MB, free: 10.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.03672, allocations: 204.1 kB / 462.8 MB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.03673, allocations: 0 / 462.8 MB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.03673, allocations: 0 / 462.8 MB, free: 10.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.03675, allocations: 0.6562 kB / 462.8 MB, free: 10.28 MB / 442.7 MB 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.0006061/0.03735, allocations: 482.1 kB / 463.2 MB, free: 9.785 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.03739, allocations: 9.844 kB / 463.3 MB, free: 9.777 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.03745, allocations: 32.91 kB / 463.3 MB, free: 9.746 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.03769, allocations: 236.8 kB / 463.5 MB, free: 9.488 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.03771, allocations: 12.38 kB / 463.5 MB, free: 9.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.03773, allocations: 21.41 kB / 463.6 MB, free: 9.457 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.03793, allocations: 213.7 kB / 463.8 MB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.03794, allocations: 192 / 463.8 MB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.03795, allocations: 12.91 kB / 463.8 MB, free: 9.211 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.03796, allocations: 4 kB / 463.8 MB, free: 9.207 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.03834, allocations: 483.7 kB / 464.2 MB, free: 8.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.03877, allocations: 331 kB / 464.6 MB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.03895, allocations: 136.8 kB / 464.7 MB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.03899, allocations: 41.41 kB / 464.7 MB, free: 8.207 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.03903, allocations: 20.2 kB / 464.8 MB, free: 8.188 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.03917, allocations: 122.2 kB / 464.9 MB, free: 8.059 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.03917, allocations: 0 / 464.9 MB, free: 8.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002222/0.0394, allocations: 167.7 kB / 465 MB, free: 7.891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.03943, allocations: 56.81 kB / 465.1 MB, free: 7.824 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.03954, allocations: 201 kB / 465.3 MB, free: 7.621 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.03956, allocations: 33.7 kB / 465.3 MB, free: 7.582 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.03961, allocations: 109.2 kB / 465.4 MB, free: 7.473 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.03968, allocations: 111.6 kB / 465.5 MB, free: 7.363 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.03974, allocations: 63.44 kB / 465.6 MB, free: 7.297 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.03983, allocations: 340.2 kB / 465.9 MB, free: 6.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.03988, allocations: 27.97 kB / 466 MB, free: 6.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.03995, allocations: 108 kB / 466.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.04007, allocations: 110.5 kB / 466.2 MB, free: 6.695 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.04007, allocations: 0 / 466.2 MB, free: 6.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000146/0.04022, allocations: 141.4 kB / 466.3 MB, free: 6.551 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.04023, allocations: 12.7 kB / 466.3 MB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.04024, allocations: 0 / 466.3 MB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.04025, allocations: 0.9062 kB / 466.3 MB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.04042, allocations: 71.89 kB / 466.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.04042, allocations: 0 / 466.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.04049, allocations: 32.44 kB / 466.4 MB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.0405, allocations: 13.09 kB / 466.5 MB, free: 6.426 MB / 442.7 MB 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 7.911e-05/0.04058, allocations: 128.6 kB / 466.6 MB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.04061, allocations: 34.89 kB / 466.6 MB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.04091, allocations: 219.8 kB / 466.8 MB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.04091, allocations: 4 kB / 466.8 MB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.04092, allocations: 4.719 kB / 466.8 MB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.04092, allocations: 3.984 kB / 466.8 MB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.04106, allocations: 157.6 kB / 467 MB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.04106, allocations: 0.7812 kB / 467 MB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.04118, allocations: 63.89 kB / 467.1 MB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.04124, allocations: 56.73 kB / 467.1 MB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.04124, allocations: 0 / 467.1 MB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.04125, allocations: 13.3 kB / 467.1 MB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.04126, allocations: 0 / 467.1 MB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04126, allocations: 0 / 467.1 MB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.04142, allocations: 175.7 kB / 467.3 MB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.04145, allocations: 13.88 kB / 467.3 MB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.04151, allocations: 11.98 kB / 467.3 MB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.04155, allocations: 23.95 kB / 467.3 MB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.04156, allocations: 4 kB / 467.3 MB, free: 5.484 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.066e-05/0.04161, allocations: 66.78 kB / 467.4 MB, free: 5.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04161, allocations: 0.9062 kB / 467.4 MB, free: 5.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.04176, allocations: 52 kB / 467.5 MB, free: 5.363 MB / 442.7 MB 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.001116/0.04287, allocations: 481.5 kB / 467.9 MB, free: 5.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.04304, allocations: 127.3 kB / 468.1 MB, free: 5.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.04305, allocations: 7.984 kB / 468.1 MB, free: 5.012 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.04315, allocations: 96.62 kB / 468.2 MB, free: 4.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.04334, allocations: 135 kB / 468.3 MB, free: 4.773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.04426, allocations: 411.2 kB / 468.7 MB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.568e-05/0.04431, allocations: 93.98 kB / 468.8 MB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.04443, allocations: 75.73 kB / 468.9 MB, free: 4.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.04457, allocations: 112.4 kB / 469 MB, free: 4.055 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04457, allocations: 0.6875 kB / 469 MB, free: 4.055 MB / 442.7 MB Notification: Performance of Templates: time 0.004937/0.04951, allocations: 3.151 MB / 472.1 MB, free: 1.109 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7099573304876685]