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/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.6986/0.6986, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 185.9 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 408.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 93.72 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 57.84 kB / 0.558 GB, free: 97.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1419, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002249/0.1441, allocations: 1.533 MB / 0.6332 GB, free: 31.47 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.1449, allocations: 0.504 MB / 0.6337 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.1449, allocations: 0 / 0.6337 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.145, allocations: 4 kB / 0.6337 GB, free: 30.95 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.1451, allocations: 11.88 kB / 0.6337 GB, free: 30.94 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.1453, allocations: 35.95 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.1454, allocations: 95.69 kB / 0.6338 GB, free: 30.81 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1455, allocations: 12.19 kB / 0.6338 GB, free: 30.8 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1456, allocations: 35.91 kB / 0.6338 GB, free: 30.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.1457, allocations: 43.81 kB / 0.6339 GB, free: 30.72 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1457, allocations: 8 kB / 0.6339 GB, free: 30.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.1457, allocations: 8 kB / 0.6339 GB, free: 30.71 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1458, allocations: 7.922 kB / 0.6339 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.1458, allocations: 43.78 kB / 0.634 GB, free: 30.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.146, allocations: 75.77 kB / 0.634 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.146, allocations: 3.984 kB / 0.634 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.146, allocations: 3.938 kB / 0.634 GB, free: 30.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.146, allocations: 0 / 0.634 GB, free: 30.57 MB / 442.7 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.0006598/0.1466, allocations: 446.9 kB / 0.6345 GB, free: 30.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1467, allocations: 12.03 kB / 0.6345 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.1467, allocations: 12.84 kB / 0.6345 GB, free: 30.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1469, allocations: 184.3 kB / 0.6347 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1469, allocations: 4.375 kB / 0.6347 GB, free: 29.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.147, allocations: 8.375 kB / 0.6347 GB, free: 29.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1472, allocations: 113.8 kB / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.1472, allocations: 0 / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1473, allocations: 4 kB / 0.6348 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1473, allocations: 4 kB / 0.6348 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.1475, allocations: 91.86 kB / 0.6349 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.148, allocations: 340.5 kB / 0.6352 GB, free: 29.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1483, allocations: 110.5 kB / 0.6353 GB, free: 29.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1485, allocations: 68.94 kB / 0.6354 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1485, allocations: 3.984 kB / 0.6354 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.1488, allocations: 127.3 kB / 0.6355 GB, free: 28.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1488, allocations: 4 kB / 0.6355 GB, free: 28.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006043/0.1494, allocations: 271.2 kB / 0.6358 GB, free: 28.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1495, allocations: 85.11 kB / 0.6358 GB, free: 28.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.1495, allocations: 129.8 kB / 0.636 GB, free: 28.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1496, allocations: 29.7 kB / 0.636 GB, free: 28.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.1496, allocations: 100 kB / 0.6361 GB, free: 28.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1496, allocations: 19.83 kB / 0.6361 GB, free: 28.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.1497, allocations: 25.62 kB / 0.6361 GB, free: 28.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.1498, allocations: 330.7 kB / 0.6364 GB, free: 27.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1499, allocations: 63.95 kB / 0.6365 GB, free: 27.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1501, allocations: 67.94 kB / 0.6366 GB, free: 27.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1504, allocations: 185.9 kB / 0.6367 GB, free: 27.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1504, allocations: 0 / 0.6367 GB, free: 27.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003947/0.1508, allocations: 256.9 kB / 0.637 GB, free: 27.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.1508, allocations: 67.39 kB / 0.6371 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1508, allocations: 0 / 0.6371 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1508, allocations: 0 / 0.6371 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.151, allocations: 15.98 kB / 0.6371 GB, free: 27.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.151, allocations: 4 kB / 0.6371 GB, free: 27.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1511, allocations: 23.88 kB / 0.6371 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1511, allocations: 8 kB / 0.6371 GB, free: 27.13 MB / 442.7 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.304e-05/0.1512, allocations: 159.5 kB / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1512, allocations: 7.906 kB / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.1513, allocations: 8.375 kB / 0.6373 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1513, allocations: 8 kB / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1513, allocations: 256 / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1513, allocations: 0 / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1514, allocations: 205.5 kB / 0.6375 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1514, allocations: 0 / 0.6375 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.1515, allocations: 11.98 kB / 0.6375 GB, free: 26.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1515, allocations: 0 / 0.6375 GB, free: 26.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1515, allocations: 3.938 kB / 0.6375 GB, free: 26.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1515, allocations: 7.984 kB / 0.6375 GB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1515, allocations: 0 / 0.6375 GB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.1522, allocations: 0.8676 MB / 0.6383 GB, free: 25.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.1522, allocations: 85.02 kB / 0.6384 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1523, allocations: 3.938 kB / 0.6384 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1524, allocations: 27.97 kB / 0.6385 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1525, allocations: 35.95 kB / 0.6385 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1525, allocations: 4 kB / 0.6385 GB, free: 25.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.969e-05/0.1526, allocations: 101 kB / 0.6386 GB, free: 25.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1526, allocations: 0 / 0.6386 GB, free: 25.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.1529, allocations: 20 kB / 0.6386 GB, free: 25.44 MB / 442.7 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 8.757e-05/0.153, allocations: 103.2 kB / 0.6387 GB, free: 25.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.1534, allocations: 266.6 kB / 0.639 GB, free: 25.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1534, allocations: 0 / 0.639 GB, free: 25.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.1536, allocations: 143.3 kB / 0.6391 GB, free: 24.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1538, allocations: 22.61 kB / 0.6391 GB, free: 24.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.1543, allocations: 355.9 kB / 0.6395 GB, free: 24.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1544, allocations: 0.6965 MB / 0.6401 GB, free: 23.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.1545, allocations: 15.98 kB / 0.6402 GB, free: 23.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.1545, allocations: 11.38 kB / 0.6402 GB, free: 23.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1545, allocations: 0 / 0.6402 GB, free: 23.73 MB / 442.7 MB Notification: Performance of Templates: time 0.003232/0.1577, allocations: 1.681 MB / 0.6418 GB, free: 22.06 MB / 442.7 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)