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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 97.64 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.01056/0.01056, allocations: 169.3 kB / 16.26 MB, free: 6.328 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.761/1.761, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0005454/0.0005454, allocations: 17.2 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2759, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.00397/0.2799, allocations: 3.33 MB / 0.7911 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2823, allocations: 1.333 MB / 0.7924 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.2826, allocations: 27.88 kB / 0.7924 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.2829, allocations: 91.11 kB / 0.7925 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.2834, allocations: 147 kB / 0.7927 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2845, allocations: 0.5294 MB / 0.7932 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.2854, allocations: 0.894 MB / 0.7941 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.2859, allocations: 333.9 kB / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.2863, allocations: 282.3 kB / 0.7947 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.2866, allocations: 282.1 kB / 0.7949 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.2867, allocations: 20 kB / 0.7949 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.2867, allocations: 20 kB / 0.795 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.2868, allocations: 115.3 kB / 0.7951 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.2871, allocations: 331.5 kB / 0.7954 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.2877, allocations: 0.7781 MB / 0.7961 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2877, allocations: 0 / 0.7961 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.103e-05/0.2877, allocations: 4 kB / 0.7962 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.2878, allocations: 3.938 kB / 0.7962 GB, free: 3.02 MB / 0.6075 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.001761/0.2895, allocations: 1.059 MB / 0.7972 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2896, allocations: 11.97 kB / 0.7972 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.2897, allocations: 95.81 kB / 0.7973 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.2906, allocations: 0.6064 MB / 0.7979 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.2907, allocations: 96.97 kB / 0.798 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.2908, allocations: 52.36 kB / 0.798 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2919, allocations: 0.6159 MB / 0.7986 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2919, allocations: 3.938 kB / 0.7986 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.292, allocations: 24 kB / 0.7987 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.292, allocations: 12 kB / 0.7987 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.293, allocations: 447.6 kB / 0.7991 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.2957, allocations: 2.133 MB / 0.8012 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.2969, allocations: 0.5263 MB / 0.8017 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.2973, allocations: 232.7 kB / 0.8019 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2974, allocations: 4 kB / 0.8019 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007045/0.2981, allocations: 290 kB / 0.8022 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.2981, allocations: 0 / 0.8022 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001473/0.2996, allocations: 0.6463 MB / 0.8028 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.2997, allocations: 88.84 kB / 0.8029 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.3004, allocations: 0.61 MB / 0.8035 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.3005, allocations: 38.8 kB / 0.8035 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.3007, allocations: 364.8 kB / 0.8039 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3009, allocations: 153.8 kB / 0.804 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.3009, allocations: 57.69 kB / 0.8041 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3011, allocations: 326 kB / 0.8044 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.3015, allocations: 185 kB / 0.8046 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.3021, allocations: 292.2 kB / 0.8049 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.303, allocations: 497.8 kB / 0.8053 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.303, allocations: 7.938 kB / 0.8053 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001271/0.3043, allocations: 0.618 MB / 0.8059 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.3045, allocations: 191.8 kB / 0.8061 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3045, allocations: 4 kB / 0.8061 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3045, allocations: 4 kB / 0.8061 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.305, allocations: 115.8 kB / 0.8062 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.305, allocations: 8 kB / 0.8063 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.3054, allocations: 67.41 kB / 0.8063 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.3055, allocations: 20 kB / 0.8063 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.3055, allocations: 7.938 kB / 0.8063 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/0.3065, allocations: 0.5037 MB / 0.8068 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3065, allocations: 4 kB / 0.8068 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.3065, allocations: 8.312 kB / 0.8068 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.3069, allocations: 107.8 kB / 0.8069 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3069, allocations: 4 kB / 0.807 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.3073, allocations: 59.52 kB / 0.807 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3073, allocations: 16 kB / 0.807 GB, free: 7.434 MB / 0.6231 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.0003244/0.3077, allocations: 281 kB / 0.8073 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.3078, allocations: 71.09 kB / 0.8074 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.3079, allocations: 79.34 kB / 0.8074 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.3079, allocations: 4 kB / 0.8074 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.308, allocations: 0 / 0.8074 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.308, allocations: 3.984 kB / 0.8074 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.3086, allocations: 0.6258 MB / 0.8081 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3086, allocations: 3.938 kB / 0.8081 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.3091, allocations: 87.88 kB / 0.8081 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3091, allocations: 4 kB / 0.8081 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.3091, allocations: 8 kB / 0.8082 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3091, allocations: 4 kB / 0.8082 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3091, allocations: 0 / 0.8082 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3107, allocations: 0.759 MB / 0.8089 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.3109, allocations: 192 kB / 0.8091 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.311, allocations: 11.98 kB / 0.8091 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.3114, allocations: 47.97 kB / 0.8091 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3115, allocations: 31.95 kB / 0.8092 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.3116, allocations: 19.92 kB / 0.8092 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005282/0.3121, allocations: 435 kB / 0.8096 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3121, allocations: 0 / 0.8096 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006022/0.3127, allocations: 219.2 kB / 0.8098 GB, free: 4.477 MB / 0.6231 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.0001432/0.3129, allocations: 119.1 kB / 0.8099 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.3144, allocations: 0.8086 MB / 0.8107 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3144, allocations: 128 / 0.8107 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.3149, allocations: 231.9 kB / 0.8109 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009114/0.3158, allocations: 185.4 kB / 0.8111 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3179, allocations: 1.466 MB / 0.8125 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.3184, allocations: 0.9183 MB / 0.8134 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003845/0.3188, allocations: 97.3 kB / 0.8135 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.319, allocations: 55.38 kB / 0.8136 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.319, allocations: 0 / 0.8136 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of Templates: time 0.01241/0.3314, allocations: 7.146 MB / 0.8206 GB, free: 9.461 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: