Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009826, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007277/0.007277, allocations: 171.7 kB / 16.27 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.036/3.036, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004487, allocations: 9.562 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3887, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003249/0.392, allocations: 1.356 MB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.3953, allocations: 1.121 MB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.3954, allocations: 0 / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.3958, allocations: 31.78 kB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.3963, allocations: 47.84 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.397, allocations: 123 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.3974, allocations: 213.6 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.3976, allocations: 24.2 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3978, allocations: 71.77 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.3982, allocations: 85.14 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.3982, allocations: 8 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.3985, allocations: 59.98 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.3987, allocations: 79.73 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3989, allocations: 117 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.3996, allocations: 267.4 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3996, allocations: 4 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3996, allocations: 0 / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3996, allocations: 0 / 1.078 GB, free: 3.906 MB / 0.8262 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.001206/0.4008, allocations: 487.6 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.4009, allocations: 12.03 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.4011, allocations: 24.66 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.4016, allocations: 267.6 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.4016, allocations: 16.38 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.4017, allocations: 16.38 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.4022, allocations: 218.7 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4023, allocations: 0 / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.4023, allocations: 12 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4023, allocations: 4 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.4036, allocations: 0.7334 MB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4049, allocations: 0.5705 MB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.4056, allocations: 303.6 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4059, allocations: 105.4 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.85e-05/0.406, allocations: 20.25 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.4064, allocations: 176.9 kB / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 5.861e-06/0.4064, allocations: 0 / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0009164/0.4074, allocations: 373.9 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.4075, allocations: 132.5 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.4079, allocations: 300 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.408, allocations: 29.7 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.4081, allocations: 128.8 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.4082, allocations: 106.4 kB / 1.082 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.4083, allocations: 37.7 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4085, allocations: 342.7 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.4087, allocations: 79.95 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.4089, allocations: 127.2 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.4094, allocations: 218.3 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4094, allocations: 3.938 kB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006327/0.4101, allocations: 273.2 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4101, allocations: 8 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.4101, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4101, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.4105, allocations: 63.91 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.4105, allocations: 7.984 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.4107, allocations: 31.62 kB / 1.083 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.4108, allocations: 15.98 kB / 1.083 GB, free: 14.47 MB / 0.8419 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.0002133/0.411, allocations: 157.8 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.4111, allocations: 27.72 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.4121, allocations: 384.4 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4121, allocations: 4 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4121, allocations: 0 / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4121, allocations: 7.922 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.4126, allocations: 325.3 kB / 1.084 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4126, allocations: 0 / 1.084 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.4129, allocations: 55.97 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.4129, allocations: 4 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.413, allocations: 15.92 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.413, allocations: 0 / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.413, allocations: 0 / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.4137, allocations: 318.3 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.4139, allocations: 148.6 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.414, allocations: 8 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4142, allocations: 22.83 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.4143, allocations: 23.97 kB / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.4143, allocations: 23.92 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003022/0.4146, allocations: 221.8 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4147, allocations: 0 / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004416/0.4151, allocations: 60 kB / 1.084 GB, free: 12.61 MB / 0.8419 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.001381/0.4165, allocations: 419.2 kB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.4171, allocations: 235.8 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4171, allocations: 0 / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.4174, allocations: 127.8 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4177, allocations: 32.66 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.419, allocations: 0.5742 MB / 1.086 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.4194, allocations: 0.7535 MB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005247/0.42, allocations: 142.9 kB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4201, allocations: 43.41 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of SimCode: time 8.51e-07/0.4201, allocations: 7.938 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.007486/0.4276, allocations: 2.849 MB / 1.089 GB, free: 7.539 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)