Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.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.001443/0.001443, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001252/0.001252, allocations: 170.4 kB / 25.05 MB, free: 8.785 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.9611/0.9611, allocations: 177.1 MB / 205.5 MB, free: 5.445 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.932/1.932, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7761 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.558e-05, allocations: 4.844 kB / 0.7761 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005338/0.005364, allocations: 3.496 MB / 0.7795 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.008054, allocations: 1.397 MB / 0.7809 GB, free: 464 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.008413, allocations: 31.75 kB / 0.7809 GB, free: 432 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.008739, allocations: 126.6 kB / 0.781 GB, free: 304 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005054/0.009244, allocations: 194.1 kB / 0.7812 GB, free: 112 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.01028, allocations: 0.5556 MB / 0.7818 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.01139, allocations: 0.9843 MB / 0.7827 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.01181, allocations: 236.2 kB / 0.7829 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.01242, allocations: 0.5117 MB / 0.7834 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.01275, allocations: 255 kB / 0.7837 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.01286, allocations: 76 kB / 0.7838 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.01296, allocations: 76.81 kB / 0.7838 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.0131, allocations: 191.2 kB / 0.784 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.01331, allocations: 227.3 kB / 0.7842 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.01398, allocations: 0.5887 MB / 0.7848 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01398, allocations: 0 / 0.7848 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01398, allocations: 0 / 0.7848 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.01399, allocations: 0.5312 kB / 0.7848 GB, free: 12.41 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001487/0.01547, allocations: 1.072 MB / 0.7858 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.01551, allocations: 9.344 kB / 0.7859 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.01566, allocations: 100.8 kB / 0.786 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.01644, allocations: 0.4931 MB / 0.7864 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.01655, allocations: 144.4 kB / 0.7866 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.303e-05/0.01663, allocations: 60.36 kB / 0.7866 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.01731, allocations: 0.6012 MB / 0.7872 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.01732, allocations: 192 / 0.7872 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.01737, allocations: 24.12 kB / 0.7872 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.01738, allocations: 13.06 kB / 0.7873 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.01766, allocations: 144.8 kB / 0.7874 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.01946, allocations: 1.471 MB / 0.7888 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.01989, allocations: 209 kB / 0.789 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.02003, allocations: 76.78 kB / 0.7891 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.02006, allocations: 11.98 kB / 0.7891 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.02033, allocations: 226.1 kB / 0.7893 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.365e-06/0.02034, allocations: 1.25 kB / 0.7893 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0006115/0.02095, allocations: 252.7 kB / 0.7896 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.021, allocations: 107.4 kB / 0.7897 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.02145, allocations: 0.5117 MB / 0.7902 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.02149, allocations: 38.23 kB / 0.7902 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.02166, allocations: 279.6 kB / 0.7905 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.02177, allocations: 166.6 kB / 0.7906 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.0219, allocations: 101.5 kB / 0.7907 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.02204, allocations: 386.6 kB / 0.7911 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.02218, allocations: 85.11 kB / 0.7912 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.02239, allocations: 235.2 kB / 0.7914 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.0227, allocations: 269.6 kB / 0.7917 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.02271, allocations: 0 / 0.7917 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004421/0.02315, allocations: 336.3 kB / 0.792 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.02319, allocations: 37.64 kB / 0.792 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.0232, allocations: 4.906 kB / 0.792 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.02322, allocations: 7.938 kB / 0.792 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.02362, allocations: 112.8 kB / 0.7921 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.02363, allocations: 4 kB / 0.7921 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.0239, allocations: 60.31 kB / 0.7922 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.02393, allocations: 19.94 kB / 0.7922 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002197/0.02415, allocations: 168.1 kB / 0.7924 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002195/0.02437, allocations: 237.9 kB / 0.7926 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003197/0.02469, allocations: 254 kB / 0.7928 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.0247, allocations: 0 / 0.7928 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0004611/0.02516, allocations: 335.4 kB / 0.7932 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.02519, allocations: 33.7 kB / 0.7932 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.0252, allocations: 7.984 kB / 0.7932 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.02521, allocations: 5.406 kB / 0.7932 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.02556, allocations: 107.8 kB / 0.7933 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.02558, allocations: 7.938 kB / 0.7933 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.02582, allocations: 53 kB / 0.7934 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.02585, allocations: 12 kB / 0.7934 GB, free: 3.086 MB / 0.7448 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 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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.0001604/0.02601, allocations: 219.2 kB / 0.7936 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.0261, allocations: 52.58 kB / 0.7936 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.02622, allocations: 79.56 kB / 0.7937 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.02623, allocations: 7.938 kB / 0.7937 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.02623, allocations: 1.344 kB / 0.7937 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.02624, allocations: 0 / 0.7937 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.02668, allocations: 325.3 kB / 0.794 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02668, allocations: 0 / 0.794 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.02702, allocations: 84.45 kB / 0.7941 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.02702, allocations: 5.062 kB / 0.7941 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.02705, allocations: 8 kB / 0.7941 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.02705, allocations: 4 kB / 0.7941 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.02705, allocations: 1.438 kB / 0.7941 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.02758, allocations: 315.9 kB / 0.7944 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.02774, allocations: 75.98 kB / 0.7945 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.0278, allocations: 12.78 kB / 0.7945 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.02803, allocations: 29.75 kB / 0.7946 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.02811, allocations: 39.86 kB / 0.7946 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.02813, allocations: 11.92 kB / 0.7946 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002604/0.02839, allocations: 248.6 kB / 0.7948 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.02839, allocations: 0 / 0.7948 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005289/0.02892, allocations: 236.3 kB / 0.7951 GB, free: 1.332 MB / 0.7448 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.0001331/0.02906, allocations: 101.3 kB / 0.7952 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005811/0.02964, allocations: 0.5036 MB / 0.7957 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.02965, allocations: 8 kB / 0.7957 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.02976, allocations: 108.6 kB / 0.7958 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.0302, allocations: 221.6 kB / 0.796 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.03138, allocations: 1.068 MB / 0.797 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.03146, allocations: 143.1 kB / 0.7972 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.03169, allocations: 87.69 kB / 0.7972 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.03201, allocations: 209.2 kB / 0.7974 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.03202, allocations: 0.8125 kB / 0.7974 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.01078/0.0428, allocations: 8.666 MB / 0.8059 GB, free: 6.434 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.950574274174869]