Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 83.69 kB / 21.74 MB, free: 2.512 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 169.8 kB / 25.18 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9254/0.9254, allocations: 177.1 MB / 205.6 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.801/1.801, allocations: 389.6 MB / 0.6364 GB, free: 12.16 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 4 kB / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/2.044e-05, allocations: 8.359 kB / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003901/0.003921, allocations: 3.995 MB / 0.7794 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.006195, allocations: 1.397 MB / 0.7808 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.006558, allocations: 31.75 kB / 0.7808 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.006836, allocations: 122.8 kB / 0.7809 GB, free: 472 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.007118, allocations: 194.2 kB / 0.7811 GB, free: 280 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.007753, allocations: 416.2 kB / 0.7815 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007478/0.008501, allocations: 0.9776 MB / 0.7824 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.008852, allocations: 298.6 kB / 0.7827 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.009347, allocations: 0.5028 MB / 0.7832 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.009567, allocations: 235.2 kB / 0.7834 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.577e-05/0.009642, allocations: 88 kB / 0.7835 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.08e-05/0.009713, allocations: 91.94 kB / 0.7836 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.009804, allocations: 175.4 kB / 0.7838 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.009966, allocations: 243.4 kB / 0.784 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.01043, allocations: 0.5795 MB / 0.7846 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01043, allocations: 0 / 0.7846 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.01043, allocations: 0 / 0.7846 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.01044, allocations: 0 / 0.7846 GB, free: 12.68 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0009656/0.01141, allocations: 0.9666 MB / 0.7855 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.01144, allocations: 9.344 kB / 0.7855 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01154, allocations: 109.8 kB / 0.7856 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.012, allocations: 428.6 kB / 0.7861 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.01203, allocations: 41.69 kB / 0.7861 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.01209, allocations: 64.33 kB / 0.7862 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.01252, allocations: 495 kB / 0.7866 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01253, allocations: 4.188 kB / 0.7866 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.01256, allocations: 24.38 kB / 0.7867 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.01257, allocations: 21 kB / 0.7867 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.01277, allocations: 158.8 kB / 0.7868 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.01436, allocations: 1.286 MB / 0.7881 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.01461, allocations: 225.7 kB / 0.7883 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.0147, allocations: 95.52 kB / 0.7884 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.01473, allocations: 16.42 kB / 0.7884 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.01489, allocations: 159 kB / 0.7886 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 1.433e-06/0.01489, allocations: 1.312 kB / 0.7886 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.0003063/0.0152, allocations: 258 kB / 0.7888 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.01523, allocations: 63.84 kB / 0.7889 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.01544, allocations: 380.3 kB / 0.7892 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.01547, allocations: 37.7 kB / 0.7893 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01558, allocations: 278.1 kB / 0.7895 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-05/0.01566, allocations: 171.4 kB / 0.7897 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.01575, allocations: 102.2 kB / 0.7898 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.01584, allocations: 371.3 kB / 0.7901 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.01591, allocations: 74.98 kB / 0.7902 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01602, allocations: 165.1 kB / 0.7904 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.01622, allocations: 258.6 kB / 0.7906 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01622, allocations: 0 / 0.7906 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002704/0.01649, allocations: 320.6 kB / 0.7909 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.01652, allocations: 37.69 kB / 0.791 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01653, allocations: 4 kB / 0.791 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.01653, allocations: 5.594 kB / 0.791 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.01683, allocations: 136.3 kB / 0.7911 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01684, allocations: 7.938 kB / 0.7911 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01696, allocations: 52.31 kB / 0.7912 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.01698, allocations: 12.59 kB / 0.7912 GB, free: 5.66 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0001139/0.01709, allocations: 150.4 kB / 0.7913 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.01714, allocations: 43.95 kB / 0.7914 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.01721, allocations: 65.44 kB / 0.7914 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01721, allocations: 4 kB / 0.7914 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01721, allocations: 7.938 kB / 0.7914 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01722, allocations: 3.984 kB / 0.7914 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.01778, allocations: 0.575 MB / 0.792 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01778, allocations: 4 kB / 0.792 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.01803, allocations: 111.2 kB / 0.7921 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01804, allocations: 3.938 kB / 0.7921 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.01806, allocations: 12 kB / 0.7921 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01806, allocations: 4 kB / 0.7921 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01806, allocations: 0 / 0.7921 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.0184, allocations: 412.5 kB / 0.7925 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.01848, allocations: 63.47 kB / 0.7926 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.01852, allocations: 12 kB / 0.7926 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01862, allocations: 19.2 kB / 0.7926 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.01868, allocations: 40.44 kB / 0.7926 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.01869, allocations: 7.984 kB / 0.7926 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001062/0.0188, allocations: 160.7 kB / 0.7928 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0188, allocations: 0 / 0.7928 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002382/0.01904, allocations: 143.6 kB / 0.7929 GB, free: 3.805 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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 8.463e-05/0.01912, allocations: 99.12 kB / 0.793 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.01939, allocations: 297.5 kB / 0.7933 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.0194, allocations: 8 kB / 0.7933 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.01951, allocations: 122.2 kB / 0.7934 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.01986, allocations: 148 kB / 0.7936 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.02149, allocations: 1.135 MB / 0.7947 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.02168, allocations: 293.9 kB / 0.795 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.02193, allocations: 165.3 kB / 0.7951 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.02194, allocations: 1 kB / 0.7951 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of Templates: time 0.00747/0.02941, allocations: 7.681 MB / 0.8026 GB, free: 9.941 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.537125916220248]