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.001446/0.001446, allocations: 112.6 kB / 16.37 MB, free: 5.949 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.001048/0.001048, allocations: 199 kB / 17.31 MB, free: 5.574 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.14 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.8163/0.8163, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.89 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.294, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00219/0.2962, allocations: 1.472 MB / 0.5971 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000551/0.2968, allocations: 463.6 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.2968, allocations: 5.5 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.442e-05/0.2969, allocations: 3.938 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.297, allocations: 15.84 kB / 0.5976 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.2971, allocations: 41.14 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2973, allocations: 100.7 kB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.2974, allocations: 13.58 kB / 0.5977 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.2975, allocations: 48.73 kB / 0.5978 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.2975, allocations: 43.83 kB / 0.5978 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.2976, allocations: 9.188 kB / 0.5978 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.2976, allocations: 8 kB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.2976, allocations: 11.98 kB / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.2977, allocations: 41.3 kB / 0.5979 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.2978, allocations: 83.75 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2978, allocations: 0 / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2978, allocations: 3.938 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2978, allocations: 4.625 kB / 0.598 GB, free: 13.79 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.0005229/0.2983, allocations: 453.8 kB / 0.5984 GB, free: 13.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.2984, allocations: 8.031 kB / 0.5984 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.2984, allocations: 12.84 kB / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2985, allocations: 185.5 kB / 0.5986 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2986, allocations: 8.375 kB / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.2986, allocations: 4.375 kB / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.2988, allocations: 119.4 kB / 0.5987 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2989, allocations: 7.984 kB / 0.5987 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2989, allocations: 4 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2989, allocations: 3.031 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.2991, allocations: 91.86 kB / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.2996, allocations: 330.1 kB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2998, allocations: 107.8 kB / 0.5993 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3, allocations: 68.94 kB / 0.5993 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3, allocations: 1.094 kB / 0.5993 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.3003, allocations: 124.3 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3003, allocations: 5.438 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005681/0.3009, allocations: 272.6 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.3009, allocations: 85.09 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.301, allocations: 141.6 kB / 0.5999 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.301, allocations: 29.7 kB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.3011, allocations: 92.05 kB / 0.6 GB, free: 11.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3011, allocations: 21.23 kB / 0.6001 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3011, allocations: 25.72 kB / 0.6001 GB, free: 11.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.3012, allocations: 327.9 kB / 0.6004 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3014, allocations: 67.89 kB / 0.6005 GB, free: 11.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3015, allocations: 70.2 kB / 0.6005 GB, free: 10.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.3018, allocations: 182 kB / 0.6007 GB, free: 10.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3018, allocations: 5.281 kB / 0.6007 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003946/0.3022, allocations: 262.3 kB / 0.601 GB, free: 10.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.3023, allocations: 67.39 kB / 0.601 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3023, allocations: 0 / 0.601 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3023, allocations: 0 / 0.601 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3024, allocations: 13.39 kB / 0.601 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3024, allocations: 4 kB / 0.601 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3025, allocations: 29.22 kB / 0.6011 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3026, allocations: 4 kB / 0.6011 GB, free: 10.37 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 8.296e-05/0.3027, allocations: 153.9 kB / 0.6012 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.3027, allocations: 12.16 kB / 0.6012 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.3027, allocations: 12.36 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3027, allocations: 4.906 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3027, allocations: 4 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3027, allocations: 1.375 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.079e-05/0.3028, allocations: 189.5 kB / 0.6014 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3028, allocations: 4 kB / 0.6014 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/0.3029, allocations: 17.27 kB / 0.6014 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3029, allocations: 0 / 0.6014 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.303, allocations: 0 / 0.6014 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.303, allocations: 4 kB / 0.6015 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.303, allocations: 1.531 kB / 0.6015 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.3034, allocations: 244.3 kB / 0.6017 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.3034, allocations: 85.02 kB / 0.6018 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3034, allocations: 11.98 kB / 0.6018 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3036, allocations: 18.2 kB / 0.6018 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3037, allocations: 35.95 kB / 0.6018 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3037, allocations: 7.938 kB / 0.6018 GB, free: 9.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.3037, allocations: 95.92 kB / 0.6019 GB, free: 9.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3038, allocations: 0 / 0.6019 GB, free: 9.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.304, allocations: 32.5 kB / 0.602 GB, free: 9.352 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.391e-05/0.3041, allocations: 108.3 kB / 0.6021 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.3045, allocations: 264.6 kB / 0.6023 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3045, allocations: 0 / 0.6023 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3047, allocations: 132.3 kB / 0.6024 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.3049, allocations: 25.42 kB / 0.6025 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.3053, allocations: 211.9 kB / 0.6027 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.979e-05/0.3054, allocations: 0.6897 MB / 0.6033 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.3054, allocations: 16.38 kB / 0.6034 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.3055, allocations: 16.5 kB / 0.6034 GB, free: 7.812 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3055, allocations: 0 / 0.6034 GB, free: 7.812 MB / 446.1 MB Notification: Performance of Templates: time 0.00767/0.3132, allocations: 1.867 MB / 0.6052 GB, free: 6.027 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)