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.000721/0.000721, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008143/0.0008143, allocations: 203.9 kB / 23 MB, free: 3.125 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.8511/0.8511, allocations: 230.6 MB / 256.8 MB, free: 3.465 MB / 202.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.7301/0.7301, allocations: 203.8 MB / 0.5049 GB, free: 0.6953 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008637/0.0008637, allocations: 63.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4055, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002296/0.4078, allocations: 1.697 MB / 0.8208 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.4092, allocations: 1.387 MB / 0.8221 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.4092, allocations: 2.031 kB / 0.8221 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.4095, allocations: 33.28 kB / 0.8221 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.4097, allocations: 102.5 kB / 0.8222 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.41, allocations: 138.3 kB / 0.8224 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.4103, allocations: 255.6 kB / 0.8226 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4104, allocations: 13.95 kB / 0.8226 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.4105, allocations: 80.81 kB / 0.8227 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.4107, allocations: 103.3 kB / 0.8228 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.4107, allocations: 17.88 kB / 0.8228 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.4109, allocations: 120.7 kB / 0.8229 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.411, allocations: 88.81 kB / 0.823 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.411, allocations: 108.9 kB / 0.8231 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.4114, allocations: 337.1 kB / 0.8234 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4114, allocations: 0.5312 kB / 0.8234 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4114, allocations: 0.5625 kB / 0.8234 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4114, allocations: 0.5312 kB / 0.8234 GB, free: 22.48 MB / 0.6355 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.0006261/0.412, allocations: 497.5 kB / 0.8239 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4121, allocations: 12.97 kB / 0.8239 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.4122, allocations: 30.02 kB / 0.824 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.4124, allocations: 214.8 kB / 0.8242 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.4124, allocations: 10.88 kB / 0.8242 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.4124, allocations: 18.09 kB / 0.8242 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.4127, allocations: 216.9 kB / 0.8244 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4127, allocations: 0 / 0.8244 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4127, allocations: 10.16 kB / 0.8244 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4127, allocations: 6.172 kB / 0.8244 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006901/0.4134, allocations: 0.7422 MB / 0.8251 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.414, allocations: 0.5431 MB / 0.8257 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.4144, allocations: 280.6 kB / 0.8259 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.4145, allocations: 92.75 kB / 0.826 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.4145, allocations: 20.52 kB / 0.826 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.4148, allocations: 178.8 kB / 0.8262 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 1.282e-06/0.4148, allocations: 0 / 0.8262 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.000486/0.4152, allocations: 370.9 kB / 0.8266 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4153, allocations: 137.8 kB / 0.8267 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4155, allocations: 310.3 kB / 0.827 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4155, allocations: 35.58 kB / 0.827 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.4156, allocations: 139.1 kB / 0.8272 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.4156, allocations: 114.8 kB / 0.8273 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.4157, allocations: 70.11 kB / 0.8273 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.4158, allocations: 338.9 kB / 0.8277 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4159, allocations: 80.52 kB / 0.8277 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.416, allocations: 132.8 kB / 0.8279 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.4162, allocations: 220.7 kB / 0.8281 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4162, allocations: 0 / 0.8281 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002927/0.4165, allocations: 278.4 kB / 0.8283 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4165, allocations: 4.031 kB / 0.8283 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4165, allocations: 0 / 0.8283 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4165, allocations: 2.547 kB / 0.8284 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4167, allocations: 64.09 kB / 0.8284 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4167, allocations: 1.922 kB / 0.8284 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.4168, allocations: 39.72 kB / 0.8285 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4168, allocations: 13.39 kB / 0.8285 GB, free: 19.64 MB / 0.6355 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 8.897e-05/0.4169, allocations: 159.1 kB / 0.8286 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.4169, allocations: 26.48 kB / 0.8286 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.4173, allocations: 386 kB / 0.829 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4173, allocations: 2.75 kB / 0.829 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4173, allocations: 0 / 0.829 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.4174, allocations: 6.719 kB / 0.829 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.4176, allocations: 304.4 kB / 0.8293 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4176, allocations: 0 / 0.8293 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4177, allocations: 63.67 kB / 0.8294 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4177, allocations: 2.578 kB / 0.8294 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4177, allocations: 15.06 kB / 0.8294 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4177, allocations: 1.219 kB / 0.8294 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4177, allocations: 0.6562 kB / 0.8294 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.418, allocations: 328.8 kB / 0.8297 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.4181, allocations: 62.02 kB / 0.8298 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.4181, allocations: 10.12 kB / 0.8298 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.4182, allocations: 17.41 kB / 0.8298 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.4182, allocations: 22.92 kB / 0.8298 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.4183, allocations: 19.91 kB / 0.8298 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001393/0.4184, allocations: 241.5 kB / 0.8301 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4184, allocations: 3.938 kB / 0.8301 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002165/0.4186, allocations: 72 kB / 0.8301 GB, free: 18.73 MB / 0.6355 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.000705/0.4193, allocations: 463.9 kB / 0.8306 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4196, allocations: 215.4 kB / 0.8308 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4196, allocations: 1.375 kB / 0.8308 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.4197, allocations: 122.9 kB / 0.8309 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.4199, allocations: 39.09 kB / 0.8309 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.4205, allocations: 0.5437 MB / 0.8315 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.4206, allocations: 0.7627 MB / 0.8322 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.4207, allocations: 58.91 kB / 0.8323 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/0.4207, allocations: 0 / 0.8323 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.00566/0.4264, allocations: 4.615 MB / 0.8368 GB, free: 16.82 MB / 0.6355 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.601349693955854] Failed to read output from testmodel.py, exit status != 0: 0.43162552104331553 0.440164947 0.02699145399999994 Calling exit ...