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.00117/0.00117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00123, allocations: 188.4 kB / 16.25 MB, free: 6.629 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.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4127, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003486/0.4163, allocations: 1.706 MB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.4181, allocations: 1.132 MB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.4182, allocations: 0 / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.4185, allocations: 19.92 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.4189, allocations: 59.81 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.4193, allocations: 119.4 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.4196, allocations: 237.6 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4198, allocations: 12.23 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.4199, allocations: 83.81 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.4203, allocations: 95.7 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.193e-05/0.4203, allocations: 20 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.4206, allocations: 83.91 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4207, allocations: 79.8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.4208, allocations: 99.39 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.4212, allocations: 271.4 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4213, allocations: 4 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4213, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.4213, allocations: 0 / 1.072 GB, free: 6.766 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.0009483/0.4222, allocations: 0.5267 MB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4223, allocations: 12.03 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.933e-05/0.4224, allocations: 32.5 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.4228, allocations: 263.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4228, allocations: 8.375 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.4228, allocations: 20.38 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.4232, allocations: 214.7 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4233, allocations: 0 / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.4233, allocations: 8 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4233, allocations: 4 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.4242, allocations: 0.7412 MB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.4251, allocations: 0.5666 MB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.4256, allocations: 307.6 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.4258, allocations: 109.3 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.4258, allocations: 24.23 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.4262, allocations: 168.9 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.4262, allocations: 0 / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0007065/0.4269, allocations: 370 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.427, allocations: 132.5 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.4274, allocations: 307.9 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.4274, allocations: 33.7 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.4275, allocations: 124.8 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.4276, allocations: 118.2 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4277, allocations: 65.69 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4279, allocations: 342.8 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.428, allocations: 79.95 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.4282, allocations: 131.2 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.4285, allocations: 214.4 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4286, allocations: 0 / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00046/0.429, allocations: 277.1 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.429, allocations: 5.875 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4291, allocations: 3.984 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4291, allocations: 4 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.4293, allocations: 55.97 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4293, allocations: 3.938 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.4295, allocations: 35.7 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4295, allocations: 12 kB / 1.077 GB, free: 1.246 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.0001629/0.4297, allocations: 157.8 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.4298, allocations: 27.62 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007017/0.4305, allocations: 384.6 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4305, allocations: 8 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4305, allocations: 0 / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4305, allocations: 3.938 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.4309, allocations: 325.3 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4309, allocations: 3.984 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.4311, allocations: 55.92 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4311, allocations: 4 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4311, allocations: 11.98 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4311, allocations: 0 / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4311, allocations: 4 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.4316, allocations: 321.7 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4318, allocations: 144.6 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.4318, allocations: 8 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.432, allocations: 11.98 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.432, allocations: 23.97 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.4321, allocations: 19.94 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000205/0.4323, allocations: 225.8 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.613e-06/0.4323, allocations: 4 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002963/0.4326, allocations: 67.84 kB / 1.078 GB, free: 15.37 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.001012/0.4336, allocations: 401.6 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005523/0.4342, allocations: 312.1 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4342, allocations: 0 / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.4344, allocations: 131.8 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4347, allocations: 28.67 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.4356, allocations: 0.5738 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.4361, allocations: 0.7574 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003266/0.4364, allocations: 138.9 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.4365, allocations: 43.41 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.4365, allocations: 4 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.00707/0.4436, allocations: 2.972 MB / 1.084 GB, free: 10.13 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)