Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001994/0.001994, allocations: 180.5 kB / 376.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 102.9 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 55.91 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3505, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.007146/0.3577, allocations: 3.734 MB / 0.9859 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004121/0.3619, allocations: 1.345 MB / 0.9872 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.3631, allocations: 23.88 kB / 0.9872 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.3636, allocations: 91.11 kB / 0.9873 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.3643, allocations: 151 kB / 0.9874 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3657, allocations: 0.5305 MB / 0.9879 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.3667, allocations: 0.9057 MB / 0.9888 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.3674, allocations: 345.9 kB / 0.9892 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.3678, allocations: 318.3 kB / 0.9895 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.3682, allocations: 333.9 kB / 0.9898 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.3683, allocations: 40 kB / 0.9898 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-05/0.3684, allocations: 36 kB / 0.9899 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.3686, allocations: 143.3 kB / 0.99 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.3689, allocations: 341.7 kB / 0.9903 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.3697, allocations: 0.8056 MB / 0.9911 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3697, allocations: 0 / 0.9911 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3697, allocations: 4 kB / 0.9911 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3697, allocations: 0 / 0.9911 GB, free: 1.219 MB / 0.7136 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.002289/0.372, allocations: 1.187 MB / 0.9923 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.3721, allocations: 11.97 kB / 0.9923 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.3722, allocations: 95.81 kB / 0.9924 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.3732, allocations: 0.5985 MB / 0.993 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.3734, allocations: 109 kB / 0.9931 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.3735, allocations: 48.38 kB / 0.9931 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3746, allocations: 0.5964 MB / 0.9937 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3746, allocations: 4 kB / 0.9937 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.3747, allocations: 23.98 kB / 0.9937 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.3747, allocations: 12 kB / 0.9937 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009513/0.3756, allocations: 423.7 kB / 0.9941 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.3785, allocations: 2.122 MB / 0.9962 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.3797, allocations: 0.5028 MB / 0.9967 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/0.3802, allocations: 216.7 kB / 0.9969 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-05/0.3803, allocations: 8 kB / 0.9969 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000746/0.381, allocations: 285.9 kB / 0.9972 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.544e-06/0.381, allocations: 0 / 0.9972 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001459/0.3825, allocations: 0.6112 MB / 0.9978 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.3826, allocations: 88.86 kB / 0.9979 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.3834, allocations: 0.6138 MB / 0.9985 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.3835, allocations: 37.7 kB / 0.9985 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.3838, allocations: 364.9 kB / 0.9988 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.384, allocations: 153.7 kB / 0.999 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3842, allocations: 98.16 kB / 0.9991 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3843, allocations: 326 kB / 0.9994 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.3848, allocations: 187 kB / 0.9996 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.3853, allocations: 276.2 kB / 0.9998 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009162/0.3863, allocations: 477.9 kB / 1 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3863, allocations: 3.938 kB / 1 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001251/0.3875, allocations: 0.5983 MB / 1.001 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.3876, allocations: 29.7 kB / 1.001 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3876, allocations: 4 kB / 1.001 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3876, allocations: 7.938 kB / 1.001 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.3881, allocations: 103.9 kB / 1.001 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.3881, allocations: 15.92 kB / 1.001 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.3885, allocations: 56.8 kB / 1.001 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.3885, allocations: 31.97 kB / 1.001 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005344/0.3891, allocations: 305.2 kB / 1.001 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004363/0.3895, allocations: 264.3 kB / 1.002 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007923/0.3903, allocations: 454 kB / 1.002 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.3904, allocations: 7.938 kB / 1.002 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001056/0.3914, allocations: 0.5786 MB / 1.003 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.3915, allocations: 44.28 kB / 1.003 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.3915, allocations: 320 / 1.003 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.3915, allocations: 12 kB / 1.003 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.3919, allocations: 99.83 kB / 1.003 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3919, allocations: 4 kB / 1.003 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.3923, allocations: 59.56 kB / 1.003 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.3923, allocations: 16 kB / 1.003 GB, free: 4.637 MB / 0.7292 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.0001976/0.3925, allocations: 220 kB / 1.003 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.3926, allocations: 79.06 kB / 1.003 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.3928, allocations: 83.33 kB / 1.003 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3928, allocations: 7.984 kB / 1.003 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3928, allocations: 0 / 1.003 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3928, allocations: 3.984 kB / 1.003 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007058/0.3936, allocations: 0.6142 MB / 1.004 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3936, allocations: 4 kB / 1.004 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.394, allocations: 83.88 kB / 1.004 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.394, allocations: 0 / 1.004 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.3941, allocations: 12 kB / 1.004 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3941, allocations: 4 kB / 1.004 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3941, allocations: 0 / 1.004 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008037/0.4021, allocations: 4.363 MB / 1.008 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.4024, allocations: 196 kB / 1.008 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.4025, allocations: 15.94 kB / 1.008 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.4028, allocations: 31.95 kB / 1.008 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.403, allocations: 35.95 kB / 1.008 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.403, allocations: 12 kB / 1.009 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005463/0.4036, allocations: 435 kB / 1.009 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4036, allocations: 0 / 1.009 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008818/0.4045, allocations: 311.3 kB / 1.009 GB, free: 13.93 MB / 0.7448 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.0001906/0.4047, allocations: 107.2 kB / 1.009 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.4063, allocations: 0.7815 MB / 1.01 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4064, allocations: 4.125 kB / 1.01 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.4068, allocations: 231.6 kB / 1.01 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.4079, allocations: 185.5 kB / 1.01 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.4109, allocations: 1.736 MB / 1.012 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.4116, allocations: 0.9224 MB / 1.013 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004697/0.4121, allocations: 109.2 kB / 1.013 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4123, allocations: 47.44 kB / 1.013 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.4123, allocations: 0 / 1.013 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of Templates: time 0.01499/0.4273, allocations: 8.362 MB / 1.021 GB, free: 1.418 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)