Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001112/0.001112, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.001189/0.001189, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9194/0.9194, allocations: 143.1 MB / 433.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4129, allocations: 82.03 MB / 0.5944 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002483/0.4154, allocations: 1.533 MB / 0.5959 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.4161, allocations: 469.5 kB / 0.5964 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.4161, allocations: 0 / 0.5964 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.4162, allocations: 7.938 kB / 0.5964 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.4163, allocations: 4.719 kB / 0.5964 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.4165, allocations: 29.11 kB / 0.5964 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.4167, allocations: 109 kB / 0.5965 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4168, allocations: 14.09 kB / 0.5965 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.4169, allocations: 51.77 kB / 0.5966 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.417, allocations: 36.77 kB / 0.5966 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.417, allocations: 8 kB / 0.5966 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.417, allocations: 8 kB / 0.5966 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.4171, allocations: 21.17 kB / 0.5966 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.4172, allocations: 35.86 kB / 0.5967 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.183e-05/0.4173, allocations: 55.83 kB / 0.5967 GB, free: 14.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4173, allocations: 4.625 kB / 0.5967 GB, free: 14.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4173, allocations: 0.5 kB / 0.5967 GB, free: 14.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4173, allocations: 0 / 0.5967 GB, free: 14.02 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.0006562/0.4179, allocations: 454.3 kB / 0.5972 GB, free: 13.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.418, allocations: 8.031 kB / 0.5972 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.418, allocations: 9.625 kB / 0.5972 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.4182, allocations: 192.2 kB / 0.5974 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4182, allocations: 1.312 kB / 0.5974 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.4183, allocations: 12.38 kB / 0.5974 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.4185, allocations: 119.1 kB / 0.5975 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.4186, allocations: 0 / 0.5975 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.4186, allocations: 8 kB / 0.5975 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4186, allocations: 1.938 kB / 0.5975 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.4189, allocations: 87.92 kB / 0.5976 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4193, allocations: 336.1 kB / 0.5979 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.4196, allocations: 102.5 kB / 0.598 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.4198, allocations: 83.14 kB / 0.5981 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4198, allocations: 0 / 0.5981 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.4201, allocations: 120.7 kB / 0.5982 GB, free: 12.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.4201, allocations: 0 / 0.5982 GB, free: 12.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006151/0.4207, allocations: 273.4 kB / 0.5985 GB, free: 12.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.4208, allocations: 96.97 kB / 0.5986 GB, free: 11.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.4208, allocations: 135.2 kB / 0.5987 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.4209, allocations: 25.7 kB / 0.5987 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.4209, allocations: 96.05 kB / 0.5988 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.4209, allocations: 16.72 kB / 0.5988 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.421, allocations: 29.7 kB / 0.5988 GB, free: 11.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.421, allocations: 328.2 kB / 0.5992 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4212, allocations: 63.95 kB / 0.5992 GB, free: 11.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4214, allocations: 64.89 kB / 0.5993 GB, free: 11.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.4217, allocations: 184.5 kB / 0.5995 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4217, allocations: 3.938 kB / 0.5995 GB, free: 10.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003985/0.4221, allocations: 257.6 kB / 0.5997 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.4221, allocations: 67.39 kB / 0.5998 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4221, allocations: 5.531 kB / 0.5998 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4221, allocations: 0 / 0.5998 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4223, allocations: 11.98 kB / 0.5998 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4223, allocations: 1.438 kB / 0.5998 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.4224, allocations: 27.91 kB / 0.5998 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.4224, allocations: 8 kB / 0.5998 GB, free: 10.59 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 9.207e-05/0.4225, allocations: 154.4 kB / 0.6 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.4226, allocations: 11.91 kB / 0.6 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.4226, allocations: 15.42 kB / 0.6 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4226, allocations: 3.984 kB / 0.6 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4226, allocations: 0 / 0.6 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4226, allocations: 96 / 0.6 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.874e-05/0.4227, allocations: 205.5 kB / 0.6002 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4227, allocations: 0 / 0.6002 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.4228, allocations: 11.98 kB / 0.6002 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4228, allocations: 4 kB / 0.6002 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4228, allocations: 1.344 kB / 0.6002 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4228, allocations: 0 / 0.6002 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4229, allocations: 256 / 0.6002 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.4233, allocations: 253.1 kB / 0.6005 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.4233, allocations: 85.02 kB / 0.6005 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.4233, allocations: 8.828 kB / 0.6005 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4235, allocations: 21.48 kB / 0.6006 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4236, allocations: 35.95 kB / 0.6006 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4236, allocations: 8 kB / 0.6006 GB, free: 9.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.85e-05/0.4236, allocations: 98.5 kB / 0.6007 GB, free: 9.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4236, allocations: 1.344 kB / 0.6007 GB, free: 9.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.4239, allocations: 27.94 kB / 0.6007 GB, free: 9.562 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 0.0001028/0.424, allocations: 104.5 kB / 0.6008 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.4244, allocations: 272.1 kB / 0.6011 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4244, allocations: 0 / 0.6011 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.4246, allocations: 132.6 kB / 0.6012 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.4248, allocations: 15.98 kB / 0.6012 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.4253, allocations: 264.4 kB / 0.6015 GB, free: 8.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.4254, allocations: 0.69 MB / 0.6022 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.4255, allocations: 15.42 kB / 0.6022 GB, free: 7.988 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4255, allocations: 0 / 0.6022 GB, free: 7.988 MB / 446.1 MB Notification: Performance of Templates: time 0.002739/0.4282, allocations: 1.432 MB / 0.6036 GB, free: 6.621 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)