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.0009151/0.0009151, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001009/0.001009, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.5407/0.5407, allocations: 95.58 MB / 366 MB, free: 10.36 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.0005637/0.0005638, allocations: 19.91 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3037, allocations: 70.32 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.002744/0.3065, allocations: 3.157 MB / 0.5081 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3083, allocations: 1.294 MB / 0.5093 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.3086, allocations: 23.88 kB / 0.5094 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.891e-05/0.3087, allocations: 55.38 kB / 0.5094 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.3092, allocations: 191.3 kB / 0.5096 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.31, allocations: 449.8 kB / 0.51 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.3106, allocations: 0.61 MB / 0.5106 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.311, allocations: 275.2 kB / 0.5109 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.3113, allocations: 286.6 kB / 0.5111 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3115, allocations: 274.3 kB / 0.5114 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.3116, allocations: 24 kB / 0.5114 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.41e-05/0.3116, allocations: 20 kB / 0.5115 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.3117, allocations: 119.4 kB / 0.5116 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.3118, allocations: 149.2 kB / 0.5117 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.3122, allocations: 0.6566 MB / 0.5123 GB, free: 8.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3122, allocations: 4 kB / 0.5124 GB, free: 8.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3122, allocations: 0 / 0.5124 GB, free: 8.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3123, allocations: 0 / 0.5124 GB, free: 8.922 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.001508/0.3138, allocations: 1.082 MB / 0.5134 GB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3138, allocations: 15.98 kB / 0.5134 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.314, allocations: 98.78 kB / 0.5135 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.3146, allocations: 0.5693 MB / 0.5141 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3147, allocations: 104.7 kB / 0.5142 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.3148, allocations: 59.91 kB / 0.5142 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.3157, allocations: 0.6577 MB / 0.5149 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3158, allocations: 0 / 0.5149 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.3158, allocations: 24 kB / 0.5149 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3158, allocations: 15.94 kB / 0.5149 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000904/0.3167, allocations: 0.5047 MB / 0.5154 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.3191, allocations: 2.123 MB / 0.5175 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.3203, allocations: 0.6285 MB / 0.5181 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.3204, allocations: 4.375 kB / 0.5181 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.321, allocations: 329.2 kB / 0.5184 GB, free: 2.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.321, allocations: 0 / 0.5184 GB, free: 2.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.001414/0.3224, allocations: 0.7403 MB / 0.5191 GB, free: 1.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3225, allocations: 133 kB / 0.5193 GB, free: 1.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.3231, allocations: 0.6531 MB / 0.5199 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.3231, allocations: 33.7 kB / 0.5199 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.3233, allocations: 368.9 kB / 0.5203 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.3234, allocations: 161.6 kB / 0.5204 GB, free: 336 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.3234, allocations: 12 kB / 0.5204 GB, free: 324 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.3235, allocations: 337.9 kB / 0.5208 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.324, allocations: 213 kB / 0.521 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.3245, allocations: 320.4 kB / 0.5213 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.3251, allocations: 271.8 kB / 0.5215 GB, free: 15.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3251, allocations: 0 / 0.5215 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001269/0.3264, allocations: 0.6715 MB / 0.5222 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.3267, allocations: 0.8174 MB / 0.523 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3267, allocations: 7.984 kB / 0.523 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3267, allocations: 8.031 kB / 0.523 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.3272, allocations: 119.8 kB / 0.5231 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3272, allocations: 4 kB / 0.5231 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.3277, allocations: 83.41 kB / 0.5232 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.3277, allocations: 27.92 kB / 0.5232 GB, free: 13.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.3278, allocations: 4 kB / 0.5232 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008389/0.3286, allocations: 0.4989 MB / 0.5237 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3286, allocations: 0 / 0.5237 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.3286, allocations: 4 kB / 0.5237 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.3291, allocations: 103.8 kB / 0.5238 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3291, allocations: 4.25 kB / 0.5238 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.3294, allocations: 63.5 kB / 0.5239 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.3295, allocations: 20 kB / 0.5239 GB, free: 12.64 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.3298, allocations: 280.9 kB / 0.5242 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3299, allocations: 78.97 kB / 0.5243 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.3301, allocations: 88.02 kB / 0.5243 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3301, allocations: 8 kB / 0.5243 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.3301, allocations: 4 kB / 0.5243 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3301, allocations: 0 / 0.5243 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.3308, allocations: 0.6769 MB / 0.525 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3308, allocations: 0 / 0.525 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.3313, allocations: 95.89 kB / 0.5251 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3313, allocations: 0 / 0.5251 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.3314, allocations: 15.98 kB / 0.5251 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3314, allocations: 4 kB / 0.5251 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3314, allocations: 0 / 0.5251 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.333, allocations: 0.8623 MB / 0.526 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.3332, allocations: 204 kB / 0.5262 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.3333, allocations: 15.98 kB / 0.5262 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.3337, allocations: 59.89 kB / 0.5262 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.3338, allocations: 32.39 kB / 0.5263 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.3339, allocations: 19.98 kB / 0.5263 GB, free: 10.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005191/0.3344, allocations: 455 kB / 0.5267 GB, free: 9.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3344, allocations: 0 / 0.5267 GB, free: 9.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.335, allocations: 231.3 kB / 0.5269 GB, free: 9.438 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.3352, allocations: 111.2 kB / 0.527 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.3367, allocations: 0.8675 MB / 0.5279 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3367, allocations: 4.125 kB / 0.5279 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.3373, allocations: 250.4 kB / 0.5281 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.3382, allocations: 192.4 kB / 0.5283 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3403, allocations: 1.48 MB / 0.5298 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.3408, allocations: 0.9498 MB / 0.5307 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003759/0.3412, allocations: 89.05 kB / 0.5308 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.3413, allocations: 55.38 kB / 0.5308 GB, free: 5.367 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3413, allocations: 4 kB / 0.5308 GB, free: 5.363 MB / 398.1 MB Notification: Performance of Templates: time 0.01402/0.3554, allocations: 7.637 MB / 0.5383 GB, free: 13.8 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: