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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.001229, allocations: 193 kB / 16.13 MB, free: 6.66 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.609/1.609, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.42 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3934, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003769/0.3972, allocations: 1.692 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3995, allocations: 1.136 MB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.3996, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.4001, allocations: 23.84 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.4004, allocations: 47.84 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.4009, allocations: 131.1 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.4013, allocations: 209.6 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.4014, allocations: 24.14 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.4015, allocations: 71.83 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.4018, allocations: 83.77 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.4019, allocations: 12 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.4021, allocations: 63.97 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.4022, allocations: 79.69 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.4024, allocations: 95.39 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.4028, allocations: 267.4 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4028, allocations: 0 / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4028, allocations: 0 / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.4028, allocations: 0 / 1.071 GB, free: 6.984 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.001019/0.4039, allocations: 0.5268 MB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.4039, allocations: 8.031 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.404, allocations: 32.55 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.4044, allocations: 263.7 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.4044, allocations: 12.38 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.4044, allocations: 12.38 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.4048, allocations: 230.7 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4049, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.4049, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4049, allocations: 8 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.4057, allocations: 0.7334 MB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/0.4066, allocations: 0.5666 MB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.407, allocations: 311.6 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.4074, allocations: 97.38 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.4075, allocations: 28.23 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004019/0.4079, allocations: 172.9 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.4079, allocations: 7.938 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.000755/0.4087, allocations: 369.9 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.4088, allocations: 136.5 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.4092, allocations: 304 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.4093, allocations: 33.7 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.4094, allocations: 120.8 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4095, allocations: 114.4 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.773e-05/0.4096, allocations: 61.67 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4098, allocations: 342.8 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.41, allocations: 79.95 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4102, allocations: 135.1 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.4105, allocations: 218.4 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4106, allocations: 0 / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004158/0.411, allocations: 273.2 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.411, allocations: 4 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.411, allocations: 0 / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.411, allocations: 0 / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4113, allocations: 63.91 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4113, allocations: 8 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4114, allocations: 31.7 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.4115, allocations: 11.98 kB / 1.076 GB, free: 1.465 MB / 0.8262 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.0002573/0.4117, allocations: 161.8 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4118, allocations: 27.62 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.4125, allocations: 380.4 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.4125, allocations: 4 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4125, allocations: 0 / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4125, allocations: 7.922 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.4128, allocations: 329.3 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4128, allocations: 0 / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.413, allocations: 59.91 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.413, allocations: 0 / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.4131, allocations: 8 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4131, allocations: 7.984 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4131, allocations: 0 / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.4135, allocations: 318.3 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.4137, allocations: 144.7 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.4137, allocations: 4 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.4139, allocations: 15.98 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.414, allocations: 19.97 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.414, allocations: 19.92 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002053/0.4142, allocations: 233.8 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4142, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002956/0.4145, allocations: 67.83 kB / 1.078 GB, free: 15.59 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.0009846/0.4155, allocations: 403.7 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.4159, allocations: 231.8 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.416, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.4162, allocations: 135.8 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.4165, allocations: 32.66 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009707/0.4174, allocations: 0.5675 MB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4178, allocations: 0.7535 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.4181, allocations: 150.8 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.4182, allocations: 47.41 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.4183, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.007144/0.4254, allocations: 2.89 MB / 1.083 GB, free: 10.5 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)