Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 105.8 kB / 17.02 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001653, allocations: 194.5 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.1 MB / 406.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3221, allocations: 76.15 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002647/0.3248, allocations: 1.456 MB / 0.559 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.3256, allocations: 462.7 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.3256, allocations: 1.312 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.157e-05/0.3257, allocations: 6.359 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.3258, allocations: 11.22 kB / 0.5594 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.326, allocations: 46.48 kB / 0.5595 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3262, allocations: 102.1 kB / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3263, allocations: 18.91 kB / 0.5596 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3264, allocations: 41.55 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.3265, allocations: 45.91 kB / 0.5597 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.3265, allocations: 9.062 kB / 0.5597 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.3266, allocations: 7.969 kB / 0.5597 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.3266, allocations: 14.42 kB / 0.5597 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.3267, allocations: 38.52 kB / 0.5597 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3268, allocations: 85.55 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3269, allocations: 1.219 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3269, allocations: 1.406 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3269, allocations: 0 / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005996/0.3275, allocations: 451 kB / 0.5603 GB, free: 34.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3275, allocations: 9.656 kB / 0.5603 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.3276, allocations: 11.91 kB / 0.5603 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3277, allocations: 186.3 kB / 0.5605 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3277, allocations: 8.094 kB / 0.5605 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3278, allocations: 6.25 kB / 0.5605 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.3281, allocations: 120.4 kB / 0.5606 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3281, allocations: 0 / 0.5606 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3281, allocations: 1.375 kB / 0.5606 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3281, allocations: 7.266 kB / 0.5606 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3285, allocations: 87.89 kB / 0.5607 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.329, allocations: 339.9 kB / 0.561 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3293, allocations: 104.8 kB / 0.5611 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.3295, allocations: 73.02 kB / 0.5612 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3296, allocations: 1.656 kB / 0.5612 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.3299, allocations: 135.3 kB / 0.5613 GB, free: 33.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3299, allocations: 0 / 0.5613 GB, free: 33.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006723/0.3306, allocations: 273.2 kB / 0.5616 GB, free: 33.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3306, allocations: 86.58 kB / 0.5616 GB, free: 33.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.3307, allocations: 132 kB / 0.5618 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3308, allocations: 33.55 kB / 0.5618 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.3308, allocations: 97.72 kB / 0.5619 GB, free: 33.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3308, allocations: 17.12 kB / 0.5619 GB, free: 33.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.3309, allocations: 32.14 kB / 0.5619 GB, free: 33.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.331, allocations: 325.6 kB / 0.5623 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3311, allocations: 62.14 kB / 0.5623 GB, free: 33.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.3313, allocations: 68.61 kB / 0.5624 GB, free: 33.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.3316, allocations: 179.7 kB / 0.5625 GB, free: 32.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3316, allocations: 0 / 0.5625 GB, free: 32.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004692/0.3321, allocations: 264.7 kB / 0.5628 GB, free: 32.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.3322, allocations: 63.7 kB / 0.5629 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3322, allocations: 2.375 kB / 0.5629 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3322, allocations: 0.6094 kB / 0.5629 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3323, allocations: 13.55 kB / 0.5629 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3324, allocations: 7.812 kB / 0.5629 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3325, allocations: 28.69 kB / 0.5629 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3325, allocations: 3.688 kB / 0.5629 GB, free: 32.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001087/0.3327, allocations: 160.4 kB / 0.5631 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.3327, allocations: 9.156 kB / 0.5631 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3327, allocations: 12.27 kB / 0.5631 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3327, allocations: 9.859 kB / 0.5631 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3327, allocations: 0 / 0.5631 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3328, allocations: 2.016 kB / 0.5631 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3329, allocations: 197 kB / 0.5633 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3329, allocations: 0 / 0.5633 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.333, allocations: 13.81 kB / 0.5633 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.333, allocations: 2.094 kB / 0.5633 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.333, allocations: 6.25 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3331, allocations: 2.562 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3331, allocations: 0 / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.3335, allocations: 253.2 kB / 0.5636 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.3336, allocations: 82.77 kB / 0.5636 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3336, allocations: 4.781 kB / 0.5636 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3338, allocations: 19.98 kB / 0.5637 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.3339, allocations: 40.64 kB / 0.5637 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3339, allocations: 4.641 kB / 0.5637 GB, free: 32.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.063e-05/0.334, allocations: 104.8 kB / 0.5638 GB, free: 32.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.334, allocations: 0 / 0.5638 GB, free: 32.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.3342, allocations: 26 kB / 0.5638 GB, free: 32.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.509e-05/0.3343, allocations: 102.8 kB / 0.5639 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.3348, allocations: 262.5 kB / 0.5642 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3348, allocations: 0 / 0.5642 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3351, allocations: 146.6 kB / 0.5643 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.3353, allocations: 13.77 kB / 0.5643 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.3358, allocations: 210.7 kB / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.3359, allocations: 0.6913 MB / 0.5652 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.037e-05/0.336, allocations: 8.344 kB / 0.5652 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3361, allocations: 17.06 kB / 0.5652 GB, free: 30.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3361, allocations: 0 / 0.5652 GB, free: 30.83 MB / 446.1 MB Notification: Performance of Templates: time 0.00463/0.3407, allocations: 1.868 MB / 0.567 GB, free: 30.73 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)