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.001449/0.001449, allocations: 76.84 kB / 19.18 MB, free: 2.531 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.002085/0.002085, allocations: 170.9 kB / 22.46 MB, free: 5.355 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.177/1.177, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 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 178] 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.833e-06/1.833e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.998e-05, allocations: 5.375 kB / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003467/0.003497, allocations: 1.664 MB / 0.6202 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.005804, allocations: 1.365 MB / 0.6216 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.005919, allocations: 0 / 0.6216 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.006166, allocations: 36.34 kB / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.006662, allocations: 113.9 kB / 0.6217 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.007074, allocations: 131.3 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00035/0.007425, allocations: 249.5 kB / 0.6221 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.007542, allocations: 19.97 kB / 0.6221 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.007736, allocations: 111.8 kB / 0.6222 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.007944, allocations: 87.75 kB / 0.6223 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.00799, allocations: 16 kB / 0.6223 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.008246, allocations: 123.8 kB / 0.6224 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.008365, allocations: 83.73 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.008471, allocations: 63.83 kB / 0.6226 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.009002, allocations: 350.8 kB / 0.6229 GB, free: 152 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.009005, allocations: 0 / 0.6229 GB, free: 152 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.009006, allocations: 3.938 kB / 0.6229 GB, free: 148 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.009016, allocations: 0 / 0.6229 GB, free: 148 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.0009829/0.009998, allocations: 493.6 kB / 0.6234 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.01004, allocations: 12.03 kB / 0.6234 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.01015, allocations: 28.75 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.01051, allocations: 216.8 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.01053, allocations: 12.38 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.01057, allocations: 16.38 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.01105, allocations: 296.5 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01106, allocations: 192 / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.01109, allocations: 12.12 kB / 0.6239 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.0111, allocations: 4 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009661/0.01206, allocations: 0.6826 MB / 0.6246 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.01299, allocations: 492.1 kB / 0.6251 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.01359, allocations: 293.5 kB / 0.6254 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.01377, allocations: 93.38 kB / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.01383, allocations: 16.27 kB / 0.6255 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.01424, allocations: 176.9 kB / 0.6256 GB, free: 13.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.654e-06/0.01424, allocations: 0 / 0.6256 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0007978/0.01504, allocations: 371.5 kB / 0.626 GB, free: 12.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.01515, allocations: 140.5 kB / 0.6261 GB, free: 12.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.01554, allocations: 313.7 kB / 0.6264 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.01557, allocations: 37.7 kB / 0.6265 GB, free: 12.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01569, allocations: 128.7 kB / 0.6266 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.01582, allocations: 111.1 kB / 0.6267 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.01592, allocations: 69.62 kB / 0.6268 GB, free: 12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.01611, allocations: 338.8 kB / 0.6271 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.01627, allocations: 79.95 kB / 0.6272 GB, free: 11.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.01654, allocations: 212.2 kB / 0.6274 GB, free: 11.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.01692, allocations: 215.6 kB / 0.6276 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01693, allocations: 0 / 0.6276 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005295/0.01746, allocations: 277 kB / 0.6278 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.01748, allocations: 12 kB / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01748, allocations: 0 / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.0175, allocations: 0 / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.01774, allocations: 63.91 kB / 0.6279 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01775, allocations: 0 / 0.6279 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.01792, allocations: 31.77 kB / 0.6279 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.01795, allocations: 19.98 kB / 0.6279 GB, free: 10.73 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.0001826/0.01813, allocations: 162.7 kB / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.01819, allocations: 23.86 kB / 0.6281 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007939/0.01898, allocations: 392.8 kB / 0.6285 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01898, allocations: 4 kB / 0.6285 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01899, allocations: 0 / 0.6285 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.019, allocations: 7.984 kB / 0.6285 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.01931, allocations: 233 kB / 0.6287 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01931, allocations: 0 / 0.6287 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.0195, allocations: 59.97 kB / 0.6288 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.01951, allocations: 0 / 0.6288 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.01953, allocations: 15.92 kB / 0.6288 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01954, allocations: 4 kB / 0.6288 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01954, allocations: 0 / 0.6288 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.02008, allocations: 322.6 kB / 0.6291 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.0202, allocations: 63.73 kB / 0.6292 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.02025, allocations: 12 kB / 0.6292 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.02039, allocations: 11.98 kB / 0.6292 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.02046, allocations: 27.95 kB / 0.6292 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.02049, allocations: 12 kB / 0.6292 GB, free: 9.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002554/0.02075, allocations: 241.2 kB / 0.6295 GB, free: 9.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02075, allocations: 0 / 0.6295 GB, free: 9.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003537/0.0211, allocations: 75.86 kB / 0.6295 GB, free: 9.027 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.001748/0.02285, allocations: 493 kB / 0.63 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.02332, allocations: 224 kB / 0.6302 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02332, allocations: 0 / 0.6302 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.02355, allocations: 115.8 kB / 0.6303 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.02382, allocations: 40.8 kB / 0.6304 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.02477, allocations: 0.5032 MB / 0.6309 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.02494, allocations: 150.8 kB / 0.631 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003562/0.0253, allocations: 150.8 kB / 0.6312 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.0254, allocations: 56.41 kB / 0.6312 GB, free: 7.488 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.0254, allocations: 0 / 0.6312 GB, free: 7.488 MB / 0.545 GB Notification: Performance of Templates: time 0.008295/0.0337, allocations: 3.383 MB / 0.6345 GB, free: 4.168 MB / 0.545 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.835275217890739] Failed to read output from testmodel.py, exit status != 0: 0.043426405638456345 0.058793095000000004 0.0464482 Calling exit ...