Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.001215/0.001215, allocations: 79.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.00101/0.00101, allocations: 173.8 kB / 25.18 MB, free: 9.102 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.8996/0.8996, allocations: 177.1 MB / 205.6 MB, free: 5.008 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.871/1.871, allocations: 389.6 MB / 0.6364 GB, free: 12.2 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.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7755 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.178e-05, allocations: 9.734 kB / 0.7755 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001682/0.001704, allocations: 1.154 MB / 0.7766 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.002783, allocations: 1.113 MB / 0.7777 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.002866, allocations: 5.031 kB / 0.7777 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.002911, allocations: 15.75 kB / 0.7778 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.003038, allocations: 53.19 kB / 0.7778 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.003267, allocations: 95.77 kB / 0.7779 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.003451, allocations: 247.2 kB / 0.7781 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.003575, allocations: 78.45 kB / 0.7782 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.003784, allocations: 155.6 kB / 0.7784 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.003866, allocations: 76.83 kB / 0.7784 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.003894, allocations: 24 kB / 0.7785 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.003954, allocations: 32.69 kB / 0.7785 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.003986, allocations: 55.77 kB / 0.7785 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.004038, allocations: 74.5 kB / 0.7786 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.004209, allocations: 171.3 kB / 0.7788 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.004212, allocations: 4 kB / 0.7788 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004213, allocations: 0 / 0.7788 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.004216, allocations: 0 / 0.7788 GB, free: 2.684 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004826/0.004699, allocations: 438.5 kB / 0.7792 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.004726, allocations: 8.75 kB / 0.7792 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.004856, allocations: 44.89 kB / 0.7792 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.005012, allocations: 169.4 kB / 0.7794 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.00508, allocations: 115.4 kB / 0.7795 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.005106, allocations: 22.69 kB / 0.7795 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.005269, allocations: 146.7 kB / 0.7797 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.005278, allocations: 192 / 0.7797 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.005293, allocations: 12.36 kB / 0.7797 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.0053, allocations: 7.938 kB / 0.7797 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.005364, allocations: 36.61 kB / 0.7797 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.005778, allocations: 340.8 kB / 0.7801 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.005912, allocations: 71.41 kB / 0.7801 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.005946, allocations: 25.36 kB / 0.7801 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.005964, allocations: 4.656 kB / 0.7802 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.811e-05/0.006062, allocations: 102 kB / 0.7802 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.233e-06/0.006064, allocations: 0.6875 kB / 0.7802 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.000166/0.00623, allocations: 111.1 kB / 0.7804 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.006263, allocations: 59.34 kB / 0.7804 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.006344, allocations: 175.9 kB / 0.7806 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.006359, allocations: 33.7 kB / 0.7806 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.006405, allocations: 129.1 kB / 0.7807 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.006441, allocations: 63.42 kB / 0.7808 GB, free: 472 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.006488, allocations: 50.12 kB / 0.7808 GB, free: 416 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.00656, allocations: 332.5 kB / 0.7812 GB, free: 76 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.006588, allocations: 19.98 kB / 0.7812 GB, free: 56 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.006629, allocations: 49.39 kB / 0.7812 GB, free: 0 / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.761e-05/0.006706, allocations: 86.42 kB / 0.7813 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006708, allocations: 0 / 0.7813 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001152/0.006823, allocations: 118.3 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.006835, allocations: 8 kB / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006839, allocations: 1.344 kB / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.006846, allocations: 0 / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.006951, allocations: 43.91 kB / 0.7815 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006955, allocations: 4.875 kB / 0.7815 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.007005, allocations: 15.95 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.007016, allocations: 12.55 kB / 0.7815 GB, free: 15.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 6.633e-05/0.007082, allocations: 118.6 kB / 0.7816 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.007099, allocations: 21.67 kB / 0.7816 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.007132, allocations: 17.81 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.007135, allocations: 4 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007136, allocations: 0 / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.007141, allocations: 3.984 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.007244, allocations: 138.2 kB / 0.7818 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007245, allocations: 0 / 0.7818 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.007338, allocations: 33.02 kB / 0.7818 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.00734, allocations: 0 / 0.7818 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.007353, allocations: 16.45 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007354, allocations: 1.125 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007354, allocations: 0 / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.007532, allocations: 158.9 kB / 0.782 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.007548, allocations: 12.72 kB / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.007569, allocations: 15.92 kB / 0.782 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.007612, allocations: 8.609 kB / 0.782 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.007658, allocations: 20.72 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.007666, allocations: 7.938 kB / 0.7821 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.007706, allocations: 45.98 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007706, allocations: 0 / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001401/0.007846, allocations: 47.84 kB / 0.7821 GB, free: 15.01 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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 9.103e-05/0.007937, allocations: 86.14 kB / 0.7822 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.008065, allocations: 82.64 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.00807, allocations: 7.938 kB / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.008126, allocations: 45.86 kB / 0.7824 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.008282, allocations: 43.2 kB / 0.7824 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.008935, allocations: 442.7 kB / 0.7828 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.551e-05/0.00901, allocations: 127.6 kB / 0.7829 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.009129, allocations: 83.36 kB / 0.783 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.00913, allocations: 0.7812 kB / 0.783 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.002751/0.01188, allocations: 2.642 MB / 0.7856 GB, free: 11.54 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.63678281661123]