Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001107/0.001114, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009136/0.009136, allocations: 170 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004832, allocations: 19.08 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4326, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002488/0.4351, allocations: 1.36 MB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4371, allocations: 1.125 MB / 1.077 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.4373, allocations: 0 / 1.077 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.4375, allocations: 23.91 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.4379, allocations: 55.77 kB / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.4383, allocations: 126.9 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.4387, allocations: 217.6 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.4388, allocations: 12.23 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.439, allocations: 67.83 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.4392, allocations: 87.7 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.4393, allocations: 12 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.4395, allocations: 63.97 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.4396, allocations: 75.69 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.4398, allocations: 121.1 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.4402, allocations: 259.4 kB / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4402, allocations: 0 / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4402, allocations: 0 / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.4402, allocations: 0 / 1.078 GB, free: 3.934 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.0008241/0.441, allocations: 499.5 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4411, allocations: 8.031 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.829e-05/0.4412, allocations: 24.66 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.4415, allocations: 271.6 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.4415, allocations: 12.38 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4416, allocations: 12.38 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.4419, allocations: 218.7 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.442, allocations: 8 kB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.442, allocations: 4 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.442, allocations: 4 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.4429, allocations: 0.7411 MB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.4439, allocations: 0.5628 MB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.4445, allocations: 311.5 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.4447, allocations: 101.4 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.4447, allocations: 24.23 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/0.4452, allocations: 168.9 kB / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.4452, allocations: 0 / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0007523/0.4459, allocations: 373.9 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.4461, allocations: 140.5 kB / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.4465, allocations: 304 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.4465, allocations: 29.7 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4467, allocations: 120.8 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.4468, allocations: 106.4 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.4469, allocations: 33.7 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4471, allocations: 338.8 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.4472, allocations: 79.95 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4474, allocations: 131.2 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.4478, allocations: 218.3 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4478, allocations: 0 / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004428/0.4482, allocations: 277.1 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4483, allocations: 4 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4483, allocations: 3.984 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4483, allocations: 4 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4486, allocations: 59.91 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.4486, allocations: 4 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.4488, allocations: 43.55 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.4488, allocations: 12 kB / 1.083 GB, free: 14.49 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.0001626/0.449, allocations: 157.8 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.449, allocations: 27.77 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006535/0.4497, allocations: 384.5 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4497, allocations: 0 / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4497, allocations: 4 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4497, allocations: 3.938 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.4501, allocations: 329.3 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4501, allocations: 3.984 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4502, allocations: 55.92 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4503, allocations: 0 / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.4503, allocations: 11.98 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4503, allocations: 0 / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4503, allocations: 4 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.4507, allocations: 326.2 kB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.4509, allocations: 148.6 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.4509, allocations: 4 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4511, allocations: 15.98 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.4511, allocations: 23.97 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.4512, allocations: 19.92 kB / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001961/0.4514, allocations: 229.8 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4514, allocations: 0 / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002914/0.4517, allocations: 63.98 kB / 1.084 GB, free: 12.62 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.0009921/0.4527, allocations: 411.5 kB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.4531, allocations: 231.8 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4531, allocations: 0 / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.4533, allocations: 127.8 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.4536, allocations: 39.5 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.4544, allocations: 0.5742 MB / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.4548, allocations: 0.7574 MB / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.4551, allocations: 146.9 kB / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.4552, allocations: 43.42 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of SimCode: time 2.064e-06/0.4552, allocations: 0 / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.006551/0.4617, allocations: 2.855 MB / 1.089 GB, free: 7.559 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)