Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.557/2.557, allocations: 287.5 MB / 302.4 MB, free: 8.203 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.001377/0.001377, allocations: 190 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009302/0.00093, allocations: 90.25 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005533, allocations: 18.52 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2303, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004605/0.235, allocations: 3.146 MB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.2387, allocations: 1.302 MB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009071/0.2397, allocations: 27.88 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.2402, allocations: 87.11 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007616/0.2409, allocations: 143 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.2427, allocations: 453.4 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001462/0.2442, allocations: 0.8199 MB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.2448, allocations: 267.1 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000558/0.2454, allocations: 266.5 kB / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.2458, allocations: 266.3 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.2459, allocations: 20 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.246, allocations: 20 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2462, allocations: 111.4 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.2463, allocations: 137.3 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.247, allocations: 0.6236 MB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.247, allocations: 0 / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.247, allocations: 0 / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.2471, allocations: 0 / 0.9858 GB, free: 20.66 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.002838/0.2499, allocations: 1.078 MB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.25, allocations: 12.02 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.2503, allocations: 98.88 kB / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.2517, allocations: 0.5745 MB / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.2519, allocations: 100.4 kB / 0.9876 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.252, allocations: 52 kB / 0.9877 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2537, allocations: 0.6079 MB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.2537, allocations: 8 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.2538, allocations: 20 kB / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.2538, allocations: 12 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2554, allocations: 447.6 kB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.2596, allocations: 2.133 MB / 0.9908 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.2616, allocations: 0.507 MB / 0.9913 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.2624, allocations: 224.7 kB / 0.9915 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.2625, allocations: 11.98 kB / 0.9915 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.2635, allocations: 298.1 kB / 0.9918 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 4.248e-06/0.2636, allocations: 0 / 0.9918 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.002409/0.266, allocations: 0.6373 MB / 0.9924 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2661, allocations: 88.86 kB / 0.9925 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/0.267, allocations: 0.61 MB / 0.9931 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/0.2671, allocations: 37.7 kB / 0.9932 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.2674, allocations: 360.7 kB / 0.9935 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.2676, allocations: 157.7 kB / 0.9937 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2676, allocations: 8 kB / 0.9937 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.2677, allocations: 329.9 kB / 0.994 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.2685, allocations: 185 kB / 0.9942 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.2693, allocations: 288.2 kB / 0.9944 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.2701, allocations: 234.5 kB / 0.9947 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2701, allocations: 3.938 kB / 0.9947 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001973/0.2721, allocations: 0.6139 MB / 0.9953 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2722, allocations: 192.2 kB / 0.9954 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2723, allocations: 4 kB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.2723, allocations: 8 kB / 0.9955 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/0.2732, allocations: 115.8 kB / 0.9956 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.2732, allocations: 7.953 kB / 0.9956 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.274, allocations: 75.34 kB / 0.9956 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.274, allocations: 16 kB / 0.9957 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2741, allocations: 8 kB / 0.9957 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/0.2757, allocations: 0.4998 MB / 0.9962 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2757, allocations: 4 kB / 0.9962 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2757, allocations: 7.938 kB / 0.9962 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.2766, allocations: 103.9 kB / 0.9963 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.2766, allocations: 11.94 kB / 0.9963 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.2773, allocations: 59.77 kB / 0.9963 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.2774, allocations: 23.98 kB / 0.9964 GB, free: 9.445 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.0004496/0.2778, allocations: 270.3 kB / 0.9966 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.278, allocations: 71.16 kB / 0.9967 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.2782, allocations: 79.34 kB / 0.9968 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2782, allocations: 7.938 kB / 0.9968 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.2782, allocations: 0 / 0.9968 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.2783, allocations: 3.984 kB / 0.9968 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.2791, allocations: 0.6257 MB / 0.9974 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2791, allocations: 3.984 kB / 0.9974 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/0.2801, allocations: 91.89 kB / 0.9975 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.2801, allocations: 0 / 0.9975 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.2802, allocations: 12 kB / 0.9975 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2802, allocations: 0 / 0.9975 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2802, allocations: 4 kB / 0.9975 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.2826, allocations: 0.7448 MB / 0.9982 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.2829, allocations: 196 kB / 0.9984 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2831, allocations: 8 kB / 0.9984 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.2839, allocations: 43.97 kB / 0.9984 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.284, allocations: 35.94 kB / 0.9985 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.2841, allocations: 16 kB / 0.9985 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006736/0.2847, allocations: 431 kB / 0.9989 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2848, allocations: 0 / 0.9989 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009063/0.2857, allocations: 219.3 kB / 0.9991 GB, free: 6.516 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.0001724/0.2859, allocations: 119.1 kB / 0.9992 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002469/0.2883, allocations: 0.8051 MB / 1 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.2884, allocations: 3.938 kB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.2891, allocations: 227.6 kB / 1 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.2907, allocations: 180.7 kB / 1 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.2937, allocations: 1.394 MB / 1.002 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.2941, allocations: 0.9183 MB / 1.003 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007008/0.2948, allocations: 89.33 kB / 1.003 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.2951, allocations: 43.44 kB / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.503e-06/0.2951, allocations: 0 / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.022/0.3171, allocations: 6.901 MB / 1.01 GB, free: 11.83 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)