Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001314/0.001313, allocations: 200.1 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 95.39 kB / 0.748 GB, free: 61.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 51.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3148, allocations: 114.6 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003936/0.3188, allocations: 1.545 MB / 0.9837 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3201, allocations: 0.4959 MB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3203, allocations: 0 / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.3205, allocations: 3.938 kB / 0.9842 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3206, allocations: 11.88 kB / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.321, allocations: 35.94 kB / 0.9843 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3213, allocations: 87.77 kB / 0.9843 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3214, allocations: 20.17 kB / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.3217, allocations: 39.84 kB / 0.9844 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3218, allocations: 43.81 kB / 0.9844 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.3218, allocations: 4 kB / 0.9844 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.42e-05/0.3219, allocations: 4 kB / 0.9844 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.3219, allocations: 11.98 kB / 0.9845 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.477e-05/0.322, allocations: 39.78 kB / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3222, allocations: 79.98 kB / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3223, allocations: 0 / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3223, allocations: 0 / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3223, allocations: 0 / 0.9846 GB, free: 7.969 MB / 0.7136 GB 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.0008557/0.3231, allocations: 454.6 kB / 0.985 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3232, allocations: 8.031 kB / 0.985 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.3232, allocations: 12.84 kB / 0.985 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3235, allocations: 192.2 kB / 0.9852 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3235, allocations: 8.375 kB / 0.9852 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3235, allocations: 4.375 kB / 0.9852 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.3239, allocations: 121.7 kB / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3239, allocations: 0 / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3239, allocations: 4 kB / 0.9853 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3239, allocations: 0 / 0.9853 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.3242, allocations: 87.92 kB / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.3248, allocations: 340.7 kB / 0.9857 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.3252, allocations: 106.5 kB / 0.9858 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3254, allocations: 68.94 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3254, allocations: 0 / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004732/0.3259, allocations: 127.3 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.3259, allocations: 0 / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007476/0.3266, allocations: 271.2 kB / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.3267, allocations: 89.09 kB / 0.9864 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3269, allocations: 133.7 kB / 0.9865 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3269, allocations: 37.64 kB / 0.9865 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.327, allocations: 88.08 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.327, allocations: 23.73 kB / 0.9866 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.3271, allocations: 29.72 kB / 0.9867 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3272, allocations: 326.8 kB / 0.987 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.3274, allocations: 59.95 kB / 0.987 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.3276, allocations: 71.95 kB / 0.9871 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.3279, allocations: 181.8 kB / 0.9873 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.328, allocations: 0 / 0.9873 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004878/0.3284, allocations: 264.8 kB / 0.9875 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.3285, allocations: 63.39 kB / 0.9876 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3285, allocations: 4 kB / 0.9876 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3286, allocations: 0 / 0.9876 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3287, allocations: 15.98 kB / 0.9876 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3287, allocations: 0 / 0.9876 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3289, allocations: 23.97 kB / 0.9876 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3289, allocations: 4 kB / 0.9876 GB, free: 4.52 MB / 0.7136 GB 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.0001312/0.329, allocations: 155.5 kB / 0.9878 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.3291, allocations: 15.91 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.3291, allocations: 12.36 kB / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3291, allocations: 0 / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3291, allocations: 4 kB / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3291, allocations: 0 / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.3293, allocations: 193.6 kB / 0.988 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3293, allocations: 352 / 0.988 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.3294, allocations: 19.92 kB / 0.988 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3294, allocations: 4 kB / 0.988 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3294, allocations: 4 kB / 0.988 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3294, allocations: 4 kB / 0.988 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3294, allocations: 7.938 kB / 0.988 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009601/0.3304, allocations: 0.8714 MB / 0.9889 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.3305, allocations: 92.95 kB / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3305, allocations: 7.938 kB / 0.989 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3306, allocations: 19.97 kB / 0.989 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3308, allocations: 31.97 kB / 0.989 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3308, allocations: 11.98 kB / 0.9891 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.3309, allocations: 97.8 kB / 0.9891 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3309, allocations: 3.938 kB / 0.9892 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003041/0.3312, allocations: 24 kB / 0.9892 GB, free: 2.801 MB / 0.7136 GB 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 0.0001787/0.3314, allocations: 107.2 kB / 0.9893 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.332, allocations: 262.9 kB / 0.9895 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.332, allocations: 3.938 kB / 0.9895 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.3323, allocations: 139.3 kB / 0.9897 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.3326, allocations: 16 kB / 0.9897 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008605/0.3335, allocations: 351.9 kB / 0.99 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.334, allocations: 0.6926 MB / 0.9907 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.935e-05/0.334, allocations: 11.98 kB / 0.9907 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.3341, allocations: 7.438 kB / 0.9907 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.3341, allocations: 0 / 0.9907 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of Templates: time 0.00547/0.3396, allocations: 1.679 MB / 0.9924 GB, free: 15.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)