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.736/2.736, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.002437/0.002437, allocations: 192.6 kB / 370.8 MB, free: 10.86 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.226/2.226, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001596/0.001595, allocations: 93.05 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005023, allocations: 12.03 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2349, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004558/0.2395, allocations: 3.143 MB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.2425, allocations: 1.252 MB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.243, allocations: 27.81 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.2431, allocations: 51.38 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.2439, allocations: 195.3 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.2455, allocations: 461.8 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.2466, allocations: 0.6022 MB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.2471, allocations: 255.1 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.2475, allocations: 294.6 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.2479, allocations: 266.4 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.248, allocations: 20 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.2481, allocations: 23.94 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2482, allocations: 115.4 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2484, allocations: 137.3 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.2491, allocations: 0.6159 MB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2491, allocations: 0 / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2491, allocations: 0 / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.2491, allocations: 0 / 0.9854 GB, free: 20.93 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.002493/0.2516, allocations: 1.075 MB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2516, allocations: 12.02 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.2519, allocations: 98.88 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.2531, allocations: 0.5745 MB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.2532, allocations: 104.4 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.2534, allocations: 55.98 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2549, allocations: 0.6002 MB / 0.9879 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.255, allocations: 0 / 0.9879 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/0.2551, allocations: 27.94 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.2551, allocations: 16 kB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.2566, allocations: 439.6 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.2613, allocations: 2.137 MB / 0.9904 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.2634, allocations: 0.5196 MB / 0.9909 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.2634, allocations: 11.97 kB / 0.9909 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.2645, allocations: 290.9 kB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.487e-06/0.2645, allocations: 0 / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.002372/0.2669, allocations: 0.649 MB / 0.9919 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.267, allocations: 84.86 kB / 0.9919 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.268, allocations: 0.6061 MB / 0.9925 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.2681, allocations: 37.7 kB / 0.9926 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.2684, allocations: 364.7 kB / 0.9929 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.2685, allocations: 153.8 kB / 0.9931 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.2686, allocations: 15.94 kB / 0.9931 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.2687, allocations: 325.9 kB / 0.9934 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000715/0.2694, allocations: 189 kB / 0.9936 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.2702, allocations: 276.3 kB / 0.9938 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007646/0.271, allocations: 242.4 kB / 0.9941 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.271, allocations: 0 / 0.9941 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001921/0.2729, allocations: 0.6139 MB / 0.9947 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.2732, allocations: 0.9869 MB / 0.9956 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2732, allocations: 8 kB / 0.9956 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.2733, allocations: 4 kB / 0.9956 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/0.2742, allocations: 111.8 kB / 0.9957 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.2742, allocations: 8 kB / 0.9957 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/0.2749, allocations: 67.5 kB / 0.9958 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.275, allocations: 20 kB / 0.9958 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.275, allocations: 6.031 kB / 0.9958 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001568/0.2766, allocations: 0.5037 MB / 0.9963 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2766, allocations: 7.953 kB / 0.9963 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2766, allocations: 4 kB / 0.9963 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.2774, allocations: 107.8 kB / 0.9964 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2775, allocations: 4 kB / 0.9964 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/0.2781, allocations: 67.67 kB / 0.9965 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.2782, allocations: 19.98 kB / 0.9965 GB, free: 9.102 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.0004089/0.2786, allocations: 274.9 kB / 0.9968 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2788, allocations: 67.16 kB / 0.9969 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.279, allocations: 83.3 kB / 0.9969 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.279, allocations: 7.938 kB / 0.9969 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.279, allocations: 4 kB / 0.9969 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.279, allocations: 7.984 kB / 0.997 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.2799, allocations: 0.6257 MB / 0.9976 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2799, allocations: 0 / 0.9976 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/0.2808, allocations: 83.89 kB / 0.9976 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.2808, allocations: 4 kB / 0.9977 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.2808, allocations: 8 kB / 0.9977 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.2809, allocations: 7.891 kB / 0.9977 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2809, allocations: 11.98 kB / 0.9977 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.2832, allocations: 0.7408 MB / 0.9984 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.2836, allocations: 200.1 kB / 0.9986 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2837, allocations: 8 kB / 0.9986 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/0.2845, allocations: 39.97 kB / 0.9986 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.2846, allocations: 39.89 kB / 0.9987 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.2847, allocations: 12 kB / 0.9987 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006621/0.2853, allocations: 435 kB / 0.9991 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2854, allocations: 0 / 0.9991 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008578/0.2862, allocations: 215.3 kB / 0.9993 GB, free: 6.16 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.0001903/0.2864, allocations: 115.1 kB / 0.9994 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.2889, allocations: 0.8048 MB / 1 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2889, allocations: 4 kB / 1 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.2897, allocations: 227.9 kB / 1 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.291, allocations: 170.8 kB / 1.001 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.2941, allocations: 1.384 MB / 1.002 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.2945, allocations: 0.9378 MB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006778/0.2952, allocations: 89.33 kB / 1.003 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.2954, allocations: 43.44 kB / 1.003 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of SimCode: time 1.283e-06/0.2954, allocations: 0 / 1.003 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of Templates: time 0.02222/0.3177, allocations: 6.891 MB / 1.01 GB, free: 11.49 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)