Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008306/0.0008306, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005904/0.005905, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.419/1.419, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 252 MB / 0.5105 GB, free: 4.676 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005728/0.0005729, allocations: 16 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4988, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005499/0.5043, allocations: 3.33 MB / 0.732 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.5077, allocations: 1.345 MB / 0.7333 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007565/0.5085, allocations: 27.81 kB / 0.7333 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.5089, allocations: 95.11 kB / 0.7334 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.5096, allocations: 139 kB / 0.7335 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.5115, allocations: 0.5292 MB / 0.734 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.5127, allocations: 0.8939 MB / 0.7349 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007407/0.5135, allocations: 339.6 kB / 0.7352 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.514, allocations: 278.3 kB / 0.7355 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.5144, allocations: 278 kB / 0.7358 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-05/0.5145, allocations: 20 kB / 0.7358 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.5146, allocations: 24 kB / 0.7358 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.5147, allocations: 115.3 kB / 0.7359 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.5151, allocations: 331.4 kB / 0.7362 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008695/0.516, allocations: 0.7859 MB / 0.737 GB, free: 2.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.516, allocations: 0 / 0.737 GB, free: 2.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.023e-06/0.516, allocations: 0 / 0.737 GB, free: 2.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.516, allocations: 0 / 0.737 GB, free: 2.73 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00255/0.5186, allocations: 1.063 MB / 0.738 GB, free: 1.613 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5186, allocations: 12.03 kB / 0.7381 GB, free: 1.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.5188, allocations: 91.81 kB / 0.7381 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5201, allocations: 0.6065 MB / 0.7387 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.5202, allocations: 96.97 kB / 0.7388 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.5204, allocations: 56.36 kB / 0.7389 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.5219, allocations: 0.6159 MB / 0.7395 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5219, allocations: 0 / 0.7395 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.522, allocations: 20 kB / 0.7395 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.522, allocations: 16 kB / 0.7395 GB, free: 0 / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.5229, allocations: 447.7 kB / 0.7399 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.5256, allocations: 2.133 MB / 0.742 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.5268, allocations: 0.5207 MB / 0.7425 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.5273, allocations: 232.8 kB / 0.7428 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.5273, allocations: 7.953 kB / 0.7428 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000623/0.528, allocations: 290.2 kB / 0.743 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 1.894e-06/0.528, allocations: 0 / 0.743 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001437/0.5294, allocations: 0.645 MB / 0.7437 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.5295, allocations: 84.86 kB / 0.7438 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006662/0.5302, allocations: 0.6217 MB / 0.7444 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.5302, allocations: 37.7 kB / 0.7444 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.5305, allocations: 364.8 kB / 0.7447 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5306, allocations: 153.8 kB / 0.7449 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.5307, allocations: 57.62 kB / 0.7449 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5308, allocations: 326 kB / 0.7453 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.5312, allocations: 185 kB / 0.7454 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.5317, allocations: 288.2 kB / 0.7457 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.5326, allocations: 497.9 kB / 0.7462 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5327, allocations: 3.938 kB / 0.7462 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001156/0.5338, allocations: 0.618 MB / 0.7468 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.5339, allocations: 189.1 kB / 0.747 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.534, allocations: 4 kB / 0.747 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.534, allocations: 4 kB / 0.747 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.5345, allocations: 113 kB / 0.7471 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5345, allocations: 11.94 kB / 0.7471 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.5349, allocations: 75.34 kB / 0.7472 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.5349, allocations: 16 kB / 0.7472 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.5349, allocations: 7.938 kB / 0.7472 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009733/0.5359, allocations: 0.5037 MB / 0.7477 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5359, allocations: 4 kB / 0.7477 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.5359, allocations: 8.312 kB / 0.7477 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.5363, allocations: 107.8 kB / 0.7478 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.5364, allocations: 8 kB / 0.7478 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.5367, allocations: 59.5 kB / 0.7479 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.5368, allocations: 19.98 kB / 0.7479 GB, free: 7.129 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.trigger_internal,limPID.I.trigger_internal) * 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.0003137/0.5371, allocations: 280.9 kB / 0.7482 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.5372, allocations: 79 kB / 0.7482 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.5373, allocations: 79.33 kB / 0.7483 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5373, allocations: 8 kB / 0.7483 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5374, allocations: 0 / 0.7483 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5374, allocations: 3.984 kB / 0.7483 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.538, allocations: 0.6141 MB / 0.7489 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.538, allocations: 3.938 kB / 0.7489 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.5385, allocations: 95.88 kB / 0.749 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5385, allocations: 0 / 0.749 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.5385, allocations: 12 kB / 0.749 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5385, allocations: 0 / 0.749 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5386, allocations: 0 / 0.749 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.54, allocations: 0.7562 MB / 0.7498 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.5402, allocations: 200 kB / 0.7499 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.5403, allocations: 12 kB / 0.75 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.5407, allocations: 43.95 kB / 0.75 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.5408, allocations: 31.95 kB / 0.75 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.5408, allocations: 15.98 kB / 0.75 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004676/0.5413, allocations: 435 kB / 0.7505 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5413, allocations: 3.938 kB / 0.7505 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005522/0.5419, allocations: 211.4 kB / 0.7507 GB, free: 4.176 MB / 0.5606 GB 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 (45): * Single equations (assignments): 43 * 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.000161/0.542, allocations: 115.2 kB / 0.7508 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.5436, allocations: 0.8165 MB / 0.7516 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5436, allocations: 0 / 0.7516 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.5441, allocations: 219.8 kB / 0.7518 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009213/0.545, allocations: 190.1 kB / 0.752 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.547, allocations: 1.471 MB / 0.7534 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.5475, allocations: 0.9144 MB / 0.7543 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000377/0.5479, allocations: 93.31 kB / 0.7544 GB, free: 296 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.548, allocations: 51.42 kB / 0.7544 GB, free: 244 kB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.548, allocations: 0 / 0.7544 GB, free: 244 kB / 0.5606 GB Notification: Performance of Templates: time 0.01261/0.5606, allocations: 7.138 MB / 0.7614 GB, free: 9.176 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: