Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001556/0.001556, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5865/0.5865, allocations: 95.47 MB / 364.8 MB, free: 10.11 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 67.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3869, allocations: 69.07 MB / 0.5017 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.007267/0.3942, allocations: 3.739 MB / 0.5053 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.3984, allocations: 1.364 MB / 0.5067 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.3993, allocations: 31.88 kB / 0.5067 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.4, allocations: 91.11 kB / 0.5068 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.4015, allocations: 154.7 kB / 0.5069 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4039, allocations: 0.5301 MB / 0.5075 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.4054, allocations: 0.9212 MB / 0.5084 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007789/0.4062, allocations: 355.8 kB / 0.5087 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.4068, allocations: 330.2 kB / 0.509 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005438/0.4073, allocations: 345.9 kB / 0.5093 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.4075, allocations: 40 kB / 0.5094 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.4077, allocations: 40 kB / 0.5094 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.408, allocations: 147.2 kB / 0.5096 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.4085, allocations: 365.5 kB / 0.5099 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009949/0.4095, allocations: 0.8641 MB / 0.5107 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4095, allocations: 0 / 0.5107 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4095, allocations: 4 kB / 0.5108 GB, free: 8.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.957e-05/0.4096, allocations: 0 / 0.5108 GB, free: 8.273 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003347/0.4129, allocations: 1.218 MB / 0.5119 GB, free: 7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/0.413, allocations: 11.98 kB / 0.512 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.4133, allocations: 99.72 kB / 0.512 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.4145, allocations: 0.6051 MB / 0.5126 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.4147, allocations: 93.28 kB / 0.5127 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.4148, allocations: 60.38 kB / 0.5128 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.4167, allocations: 0.65 MB / 0.5134 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.4168, allocations: 0 / 0.5134 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.4169, allocations: 20 kB / 0.5134 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.4169, allocations: 16 kB / 0.5135 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.4187, allocations: 484.9 kB / 0.5139 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004077/0.4228, allocations: 2.107 MB / 0.516 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.4246, allocations: 0.5544 MB / 0.5165 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.4254, allocations: 217.5 kB / 0.5167 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.4254, allocations: 4.375 kB / 0.5167 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009962/0.4265, allocations: 313.2 kB / 0.517 GB, free: 1.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 5.18e-06/0.4265, allocations: 0 / 0.517 GB, free: 1.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002315/0.4288, allocations: 0.6856 MB / 0.5177 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.4289, allocations: 137 kB / 0.5178 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/0.4298, allocations: 0.6531 MB / 0.5185 GB, free: 80 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.4299, allocations: 37.7 kB / 0.5185 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.4303, allocations: 376.9 kB / 0.5189 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.4305, allocations: 157.7 kB / 0.519 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.4308, allocations: 94.23 kB / 0.5191 GB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4309, allocations: 329.9 kB / 0.5194 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008644/0.4318, allocations: 206.9 kB / 0.5196 GB, free: 14.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/0.4328, allocations: 308.4 kB / 0.5199 GB, free: 14.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.4346, allocations: 0.5077 MB / 0.5204 GB, free: 14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4346, allocations: 0 / 0.5204 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002317/0.437, allocations: 0.6479 MB / 0.521 GB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.437, allocations: 33.7 kB / 0.5211 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4371, allocations: 0 / 0.5211 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4371, allocations: 7.984 kB / 0.5211 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.438, allocations: 116.1 kB / 0.5212 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.438, allocations: 4 kB / 0.5212 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.4388, allocations: 67.5 kB / 0.5213 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.4389, allocations: 23.94 kB / 0.5213 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009721/0.4399, allocations: 313.2 kB / 0.5216 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007333/0.4407, allocations: 268.4 kB / 0.5218 GB, free: 12.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001341/0.4421, allocations: 448 kB / 0.5223 GB, free: 12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.808e-06/0.4421, allocations: 3.938 kB / 0.5223 GB, free: 12 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001843/0.4439, allocations: 0.5894 MB / 0.5228 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.444, allocations: 29.7 kB / 0.5229 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.444, allocations: 8 kB / 0.5229 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.444, allocations: 4 kB / 0.5229 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.4448, allocations: 103.8 kB / 0.523 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.4449, allocations: 4 kB / 0.523 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007126/0.4456, allocations: 63.75 kB / 0.523 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.4457, allocations: 16 kB / 0.5231 GB, free: 11.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.local_reset,limPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003104/0.446, allocations: 212.2 kB / 0.5233 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4462, allocations: 83.05 kB / 0.5233 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.4465, allocations: 88.02 kB / 0.5234 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4465, allocations: 4 kB / 0.5234 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4465, allocations: 0 / 0.5234 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.4466, allocations: 0 / 0.5234 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.4478, allocations: 0.6807 MB / 0.5241 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4478, allocations: 0 / 0.5241 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009378/0.4487, allocations: 95.81 kB / 0.5242 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.4488, allocations: 4 kB / 0.5242 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.4488, allocations: 8 kB / 0.5242 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.4489, allocations: 4 kB / 0.5242 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4489, allocations: 3.984 kB / 0.5242 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.4516, allocations: 0.8077 MB / 0.525 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.452, allocations: 200.1 kB / 0.5252 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4521, allocations: 12 kB / 0.5252 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/0.4529, allocations: 39.95 kB / 0.5252 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.453, allocations: 32.39 kB / 0.5253 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.4531, allocations: 19.98 kB / 0.5253 GB, free: 8.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009193/0.4541, allocations: 463 kB / 0.5257 GB, free: 8.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4541, allocations: 0 / 0.5257 GB, free: 8.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001132/0.4552, allocations: 235.2 kB / 0.5259 GB, free: 8.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002184/0.4555, allocations: 123.1 kB / 0.5261 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.4582, allocations: 0.828 MB / 0.5269 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4582, allocations: 0 / 0.5269 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.4591, allocations: 238.4 kB / 0.5271 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.4607, allocations: 201.8 kB / 0.5273 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.4645, allocations: 1.547 MB / 0.5288 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.4654, allocations: 0.9342 MB / 0.5297 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007132/0.4661, allocations: 89.05 kB / 0.5298 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.4664, allocations: 47.44 kB / 0.5298 GB, free: 4.031 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4664, allocations: 0 / 0.5298 GB, free: 4.031 MB / 398.1 MB Notification: Performance of Templates: time 0.02476/0.4912, allocations: 8.006 MB / 0.5377 GB, free: 12.1 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)