Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.4 MB / 303.7 MB, free: 8.066 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.001016/0.001016, allocations: 169.2 kB / 372.3 MB, free: 10.11 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.64/1.64, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008578/0.0008577, allocations: 92.19 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003978, allocations: 11.84 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2355, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003137/0.2387, allocations: 3.135 MB / 0.9832 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.2408, allocations: 1.31 MB / 0.9845 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.2412, allocations: 27.81 kB / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.2415, allocations: 91.11 kB / 0.9846 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.2419, allocations: 135 kB / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.2429, allocations: 465 kB / 0.9852 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006598/0.2436, allocations: 0.8432 MB / 0.986 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.244, allocations: 329.9 kB / 0.9863 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.2443, allocations: 270.5 kB / 0.9865 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.2446, allocations: 266.3 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.2447, allocations: 20 kB / 0.9868 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.2447, allocations: 20 kB / 0.9868 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.2448, allocations: 111.3 kB / 0.9869 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.245, allocations: 307.8 kB / 0.9872 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.2454, allocations: 0.6195 MB / 0.9878 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2454, allocations: 0 / 0.9878 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2454, allocations: 0 / 0.9878 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2455, allocations: 0 / 0.9878 GB, free: 19.42 MB / 0.6198 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.001538/0.247, allocations: 1.067 MB / 0.9889 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.247, allocations: 8.031 kB / 0.9889 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2472, allocations: 95.81 kB / 0.989 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007594/0.2479, allocations: 0.5948 MB / 0.9896 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.248, allocations: 105 kB / 0.9897 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.2481, allocations: 52.38 kB / 0.9897 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008718/0.249, allocations: 0.6119 MB / 0.9903 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.249, allocations: 3.938 kB / 0.9903 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.2491, allocations: 31.94 kB / 0.9903 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2491, allocations: 15.98 kB / 0.9904 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.2499, allocations: 439.6 kB / 0.9908 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.2522, allocations: 2.133 MB / 0.9929 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2532, allocations: 0.5147 MB / 0.9934 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.2536, allocations: 224.7 kB / 0.9936 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.2537, allocations: 7.984 kB / 0.9936 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005921/0.2543, allocations: 293.9 kB / 0.9939 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 2.385e-06/0.2543, allocations: 8 kB / 0.9939 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001319/0.2556, allocations: 0.6308 MB / 0.9945 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2557, allocations: 84.86 kB / 0.9946 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.2562, allocations: 0.6139 MB / 0.9952 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.2563, allocations: 33.7 kB / 0.9952 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2565, allocations: 368.8 kB / 0.9956 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.2566, allocations: 149.8 kB / 0.9957 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.2566, allocations: 12 kB / 0.9957 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.2567, allocations: 330 kB / 0.996 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.257, allocations: 181 kB / 0.9962 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.2575, allocations: 288.2 kB / 0.9965 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.2582, allocations: 491 kB / 0.9969 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2582, allocations: 7.938 kB / 0.997 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009723/0.2592, allocations: 0.6138 MB / 0.9976 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.222e-05/0.2593, allocations: 189.3 kB / 0.9977 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2593, allocations: 0 / 0.9977 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2594, allocations: 15.98 kB / 0.9977 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.2598, allocations: 111.8 kB / 0.9979 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2598, allocations: 4 kB / 0.9979 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.2602, allocations: 67.42 kB / 0.9979 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.2602, allocations: 23.98 kB / 0.9979 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.2603, allocations: 13.44 kB / 0.998 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008144/0.2611, allocations: 0.4999 MB / 0.9984 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2611, allocations: 3.984 kB / 0.9984 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.2611, allocations: 8 kB / 0.9985 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.2615, allocations: 103.8 kB / 0.9986 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2615, allocations: 4 kB / 0.9986 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.2618, allocations: 63.75 kB / 0.9986 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2619, allocations: 20 kB / 0.9986 GB, free: 7.91 MB / 0.6198 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.2621, allocations: 274.4 kB / 0.9989 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.2622, allocations: 79.08 kB / 0.999 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.2623, allocations: 87.27 kB / 0.9991 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2623, allocations: 4 kB / 0.9991 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2623, allocations: 0 / 0.9991 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2623, allocations: 0 / 0.9991 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.2629, allocations: 0.6336 MB / 0.9997 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2629, allocations: 3.938 kB / 0.9997 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.2633, allocations: 87.89 kB / 0.9998 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.2633, allocations: 0 / 0.9998 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.2634, allocations: 11.98 kB / 0.9998 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2634, allocations: 7.938 kB / 0.9998 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2634, allocations: 0 / 0.9998 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.2646, allocations: 0.7474 MB / 1.001 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2648, allocations: 192 kB / 1.001 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.2649, allocations: 12 kB / 1.001 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.2653, allocations: 47.95 kB / 1.001 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.2653, allocations: 31.95 kB / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.2654, allocations: 15.98 kB / 1.001 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003726/0.2658, allocations: 427 kB / 1.001 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2658, allocations: 0 / 1.001 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004999/0.2663, allocations: 227.2 kB / 1.001 GB, free: 4.957 MB / 0.6198 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 (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.0001269/0.2664, allocations: 107.2 kB / 1.002 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.2677, allocations: 0.8125 MB / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2677, allocations: 0 / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.2681, allocations: 223.8 kB / 1.003 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.2689, allocations: 182.9 kB / 1.003 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.2706, allocations: 1.392 MB / 1.004 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2709, allocations: 0.9183 MB / 1.005 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003623/0.2713, allocations: 93.33 kB / 1.005 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.2715, allocations: 47.42 kB / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2715, allocations: 0 / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of Templates: time 0.01205/0.2835, allocations: 7.008 MB / 1.012 GB, free: 10.17 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)