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.0007851/0.0007851, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004453/0.004453, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.121/1.121, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.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.8164/0.8164, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002514, allocations: 8 kB / 0.5164 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 83.41 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001279/0.1192, allocations: 1.202 MB / 0.599 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.1198, allocations: 451 kB / 0.5994 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.1198, allocations: 0 / 0.5994 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.156e-05/0.1199, allocations: 3.984 kB / 0.5994 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.12, allocations: 7.875 kB / 0.5994 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.1201, allocations: 39.95 kB / 0.5995 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.1202, allocations: 87.77 kB / 0.5996 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.84e-05/0.1203, allocations: 16.17 kB / 0.5996 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.484e-05/0.1204, allocations: 39.84 kB / 0.5996 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1205, allocations: 35.88 kB / 0.5997 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1205, allocations: 4 kB / 0.5997 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.1205, allocations: 8 kB / 0.5997 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.1206, allocations: 19.86 kB / 0.5997 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.1207, allocations: 61.5 kB / 0.5997 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.1208, allocations: 71.8 kB / 0.5998 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1208, allocations: 0 / 0.5998 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1208, allocations: 3.938 kB / 0.5998 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.1208, allocations: 0 / 0.5998 GB, free: 5.59 MB / 0.4981 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.0005234/0.1213, allocations: 442.9 kB / 0.6002 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.1214, allocations: 12.03 kB / 0.6003 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1214, allocations: 8.844 kB / 0.6003 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1215, allocations: 187.6 kB / 0.6004 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1216, allocations: 8.359 kB / 0.6004 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.1216, allocations: 8.375 kB / 0.6005 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.1219, allocations: 125.8 kB / 0.6006 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1219, allocations: 0 / 0.6006 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1219, allocations: 4 kB / 0.6006 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1219, allocations: 0 / 0.6006 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.1222, allocations: 115.8 kB / 0.6007 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1227, allocations: 336.6 kB / 0.601 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.123, allocations: 122.5 kB / 0.6011 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.1231, allocations: 80.94 kB / 0.6012 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.1232, allocations: 0 / 0.6012 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.1235, allocations: 131.3 kB / 0.6013 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1235, allocations: 0 / 0.6013 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000627/0.1241, allocations: 299.2 kB / 0.6016 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1241, allocations: 89.11 kB / 0.6017 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.1242, allocations: 132.5 kB / 0.6018 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1243, allocations: 33.64 kB / 0.6019 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.1243, allocations: 88.14 kB / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1243, allocations: 27.67 kB / 0.602 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.1244, allocations: 17.72 kB / 0.602 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.1245, allocations: 322.8 kB / 0.6023 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.1246, allocations: 75.95 kB / 0.6024 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1248, allocations: 71.95 kB / 0.6024 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.1251, allocations: 197.9 kB / 0.6026 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1251, allocations: 0 / 0.6026 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004501/0.1256, allocations: 276.8 kB / 0.6029 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.1257, allocations: 71.33 kB / 0.603 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1257, allocations: 0 / 0.603 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.1257, allocations: 4.25 kB / 0.603 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1258, allocations: 15.98 kB / 0.603 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1258, allocations: 4 kB / 0.603 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.1259, allocations: 31.89 kB / 0.603 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.126, allocations: 11.98 kB / 0.603 GB, free: 2.02 MB / 0.4981 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 9.459e-05/0.1261, allocations: 155.5 kB / 0.6032 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.1261, allocations: 4 kB / 0.6032 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.1261, allocations: 12.36 kB / 0.6032 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1261, allocations: 8 kB / 0.6032 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1261, allocations: 3.938 kB / 0.6032 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1261, allocations: 0 / 0.6032 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1262, allocations: 201.5 kB / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1263, allocations: 96 / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.1263, allocations: 19.92 kB / 0.6034 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1264, allocations: 0 / 0.6034 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1264, allocations: 0 / 0.6034 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1264, allocations: 4 kB / 0.6034 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1264, allocations: 4 kB / 0.6034 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.1268, allocations: 258.7 kB / 0.6037 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.1269, allocations: 84.95 kB / 0.6037 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1269, allocations: 11.98 kB / 0.6038 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.127, allocations: 23.98 kB / 0.6038 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.1271, allocations: 31.95 kB / 0.6038 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1271, allocations: 4 kB / 0.6038 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.1272, allocations: 99.27 kB / 0.6039 GB, free: 1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1272, allocations: 7.938 kB / 0.6039 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00025/0.1275, allocations: 31.94 kB / 0.6039 GB, free: 0.9609 MB / 0.4981 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 7.147e-05/0.1275, allocations: 99.23 kB / 0.604 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.128, allocations: 278.7 kB / 0.6043 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.128, allocations: 0 / 0.6043 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.1282, allocations: 151.3 kB / 0.6044 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.1284, allocations: 11.98 kB / 0.6045 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.1288, allocations: 253.1 kB / 0.6047 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1889/0.3178, allocations: 0.6858 MB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.269e-05/0.3179, allocations: 8.031 kB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.3179, allocations: 11.64 kB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.3179, allocations: 0 / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.00299/0.3209, allocations: 1.584 MB / 0.6069 GB, free: 40.68 MB / 0.4981 GB 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)