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.0008758/0.0008757, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009296/0.0009297, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 223.3 MB / 240 MB, free: 5.344 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.8394/0.8394, allocations: 143.2 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 11.98 kB / 0.5158 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 83.41 MB / 0.5972 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001358/0.1259, allocations: 1.178 MB / 0.5984 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005786/0.1265, allocations: 431.3 kB / 0.5988 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1265, allocations: 4 kB / 0.5988 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.633e-05/0.1266, allocations: 3.938 kB / 0.5988 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.1267, allocations: 7.922 kB / 0.5988 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.1268, allocations: 31.91 kB / 0.5988 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.1269, allocations: 83.75 kB / 0.5989 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.127, allocations: 4.188 kB / 0.5989 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.1271, allocations: 47.89 kB / 0.599 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.1272, allocations: 35.83 kB / 0.599 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1272, allocations: 4 kB / 0.599 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.1272, allocations: 4 kB / 0.599 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.1273, allocations: 11.92 kB / 0.599 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1273, allocations: 37.7 kB / 0.5991 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.1274, allocations: 59.88 kB / 0.5991 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1274, allocations: 0 / 0.5991 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1274, allocations: 0 / 0.5991 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.1274, allocations: 0 / 0.5991 GB, free: 6.184 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.0005355/0.128, allocations: 442.8 kB / 0.5995 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.128, allocations: 12.03 kB / 0.5996 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.128, allocations: 11.84 kB / 0.5996 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.1282, allocations: 191.7 kB / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1282, allocations: 4 kB / 0.5998 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1282, allocations: 12 kB / 0.5998 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.1285, allocations: 121.6 kB / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1285, allocations: 0 / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1286, allocations: 4 kB / 0.5999 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1286, allocations: 4 kB / 0.5999 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.1288, allocations: 103.9 kB / 0.6 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.1293, allocations: 340.7 kB / 0.6003 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1296, allocations: 114.5 kB / 0.6004 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1298, allocations: 84.92 kB / 0.6005 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1298, allocations: 4 kB / 0.6005 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.1301, allocations: 127.3 kB / 0.6006 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1301, allocations: 0 / 0.6006 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000631/0.1307, allocations: 303.1 kB / 0.6009 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1308, allocations: 96.98 kB / 0.601 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.1309, allocations: 129.8 kB / 0.6011 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1309, allocations: 25.7 kB / 0.6012 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.131, allocations: 96.05 kB / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.131, allocations: 19.75 kB / 0.6013 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.131, allocations: 8 kB / 0.6013 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.1311, allocations: 318.8 kB / 0.6016 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1313, allocations: 67.95 kB / 0.6016 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1314, allocations: 83.94 kB / 0.6017 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1316, allocations: 107.3 kB / 0.6018 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1316, allocations: 0 / 0.6018 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000442/0.1321, allocations: 277 kB / 0.6021 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.1321, allocations: 67.39 kB / 0.6022 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1321, allocations: 80 / 0.6022 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.1322, allocations: 0 / 0.6022 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1323, allocations: 19.98 kB / 0.6022 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1323, allocations: 11.88 kB / 0.6022 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1324, allocations: 31.97 kB / 0.6022 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.1324, allocations: 4 kB / 0.6022 GB, free: 2.727 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1325, allocations: 151.5 kB / 0.6024 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.1326, allocations: 11.91 kB / 0.6024 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.1326, allocations: 12.36 kB / 0.6024 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1326, allocations: 4 kB / 0.6024 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1326, allocations: 4 kB / 0.6024 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1326, allocations: 3.953 kB / 0.6024 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1328, allocations: 189.7 kB / 0.6026 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1328, allocations: 4 kB / 0.6026 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.1328, allocations: 16.23 kB / 0.6026 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1329, allocations: 4.094 kB / 0.6026 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1329, allocations: 7.938 kB / 0.6026 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1329, allocations: 0 / 0.6026 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1329, allocations: 4 kB / 0.6026 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.1333, allocations: 270.5 kB / 0.6029 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.1334, allocations: 84.95 kB / 0.603 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1334, allocations: 7.984 kB / 0.603 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1335, allocations: 27.98 kB / 0.603 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.1337, allocations: 35.94 kB / 0.603 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1337, allocations: 4 kB / 0.603 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.1337, allocations: 101.9 kB / 0.6031 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 4 kB / 0.6031 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001868/0.1339, allocations: 20 kB / 0.6031 GB, free: 1.668 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.711e-05/0.134, allocations: 103.2 kB / 0.6032 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.1345, allocations: 278.6 kB / 0.6035 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1345, allocations: 4 kB / 0.6035 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.1347, allocations: 147.3 kB / 0.6037 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.1349, allocations: 15.95 kB / 0.6037 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1353, allocations: 237.2 kB / 0.6039 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1355, allocations: 0.6887 MB / 0.6046 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.699e-05/0.1356, allocations: 12.17 kB / 0.6046 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1356, allocations: 11.44 kB / 0.6046 GB, free: 88 kB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1356, allocations: 0 / 0.6046 GB, free: 88 kB / 0.4981 GB Notification: Performance of Templates: time 0.206/0.3416, allocations: 1.53 MB / 0.6061 GB, free: 40.88 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)