Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 103.7 kB / 15.98 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.001111/0.001111, allocations: 193.6 kB / 16.91 MB, free: 6.188 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.21/1.21, allocations: 222.9 MB / 240.6 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6185/0.6185, allocations: 115.3 MB / 406.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 65.19 kB / 493.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 76.19 MB / 0.556 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002535/0.1231, allocations: 1.538 MB / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.1238, allocations: 447 kB / 0.558 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.1238, allocations: 3.938 kB / 0.558 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.262e-05/0.1239, allocations: 0 / 0.558 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.124, allocations: 19.88 kB / 0.558 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1242, allocations: 31.95 kB / 0.558 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1243, allocations: 103.8 kB / 0.5581 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.1244, allocations: 16.19 kB / 0.5581 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1246, allocations: 39.84 kB / 0.5582 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.1246, allocations: 43.88 kB / 0.5582 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1247, allocations: 8 kB / 0.5582 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.1247, allocations: 8 kB / 0.5582 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.1247, allocations: 15.92 kB / 0.5582 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1248, allocations: 35.86 kB / 0.5583 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.1249, allocations: 84.03 kB / 0.5584 GB, free: 8.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1249, allocations: 0 / 0.5584 GB, free: 8.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1249, allocations: 0 / 0.5584 GB, free: 8.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1249, allocations: 4 kB / 0.5584 GB, free: 8.215 MB / 430.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.0006384/0.1256, allocations: 454.5 kB / 0.5588 GB, free: 7.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1256, allocations: 11.97 kB / 0.5588 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.1257, allocations: 42.73 kB / 0.5588 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.1257, allocations: 12.78 kB / 0.5589 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1259, allocations: 184.2 kB / 0.559 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1259, allocations: 8.359 kB / 0.559 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1259, allocations: 12.38 kB / 0.5591 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1262, allocations: 113.6 kB / 0.5592 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1262, allocations: 0 / 0.5592 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1262, allocations: 8 kB / 0.5592 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1262, allocations: 0 / 0.5592 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1265, allocations: 91.86 kB / 0.5593 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.127, allocations: 328.7 kB / 0.5596 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.1273, allocations: 106.5 kB / 0.5597 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1275, allocations: 72.94 kB / 0.5597 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1275, allocations: 4 kB / 0.5597 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.1278, allocations: 123.3 kB / 0.5599 GB, free: 6.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1278, allocations: 0 / 0.5599 GB, free: 6.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006426/0.1285, allocations: 275.2 kB / 0.5601 GB, free: 6.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1286, allocations: 89.11 kB / 0.5602 GB, free: 6.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.1287, allocations: 131.7 kB / 0.5603 GB, free: 5.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1287, allocations: 25.7 kB / 0.5604 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.1287, allocations: 96.05 kB / 0.5605 GB, free: 5.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1288, allocations: 23.73 kB / 0.5605 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.1288, allocations: 25.72 kB / 0.5605 GB, free: 5.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.1289, allocations: 322.8 kB / 0.5608 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1291, allocations: 75.89 kB / 0.5609 GB, free: 5.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.1293, allocations: 63.95 kB / 0.5609 GB, free: 5.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.1296, allocations: 181.9 kB / 0.5611 GB, free: 5.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1296, allocations: 0 / 0.5611 GB, free: 5.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004476/0.1301, allocations: 264.9 kB / 0.5614 GB, free: 4.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.1301, allocations: 67.39 kB / 0.5614 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1301, allocations: 0 / 0.5614 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1302, allocations: 7.938 kB / 0.5614 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1303, allocations: 11.98 kB / 0.5615 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1303, allocations: 0 / 0.5615 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1304, allocations: 19.97 kB / 0.5615 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1305, allocations: 12.19 kB / 0.5615 GB, free: 4.715 MB / 430.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 0.000101/0.1306, allocations: 151.5 kB / 0.5616 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.1306, allocations: 11.89 kB / 0.5616 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.1306, allocations: 12.38 kB / 0.5617 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1306, allocations: 0 / 0.5617 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1306, allocations: 4 kB / 0.5617 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1306, allocations: 0 / 0.5617 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1308, allocations: 201.6 kB / 0.5618 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1308, allocations: 0 / 0.5618 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.1309, allocations: 15.92 kB / 0.5619 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1309, allocations: 4 kB / 0.5619 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1309, allocations: 4 kB / 0.5619 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1309, allocations: 0 / 0.5619 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1309, allocations: 0 / 0.5619 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.1313, allocations: 246.6 kB / 0.5621 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1314, allocations: 92.92 kB / 0.5622 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1314, allocations: 8 kB / 0.5622 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1316, allocations: 19.98 kB / 0.5622 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.1317, allocations: 35.95 kB / 0.5623 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1317, allocations: 8 kB / 0.5623 GB, free: 3.809 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.797e-05/0.1317, allocations: 99.2 kB / 0.5624 GB, free: 3.711 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1318, allocations: 0 / 0.5624 GB, free: 3.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.132, allocations: 24 kB / 0.5624 GB, free: 3.688 MB / 430.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.0007129/0.1327, allocations: 0.7897 MB / 0.5632 GB, free: 2.863 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.1331, allocations: 266.6 kB / 0.5634 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1332, allocations: 4 kB / 0.5634 GB, free: 2.574 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.1334, allocations: 135.3 kB / 0.5635 GB, free: 2.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1336, allocations: 17.2 kB / 0.5636 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1357, allocations: 1.756 MB / 0.5653 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1359, allocations: 0.6938 MB / 0.5659 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.136, allocations: 15.98 kB / 0.566 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.136, allocations: 23.42 kB / 0.566 GB, free: 15.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.136, allocations: 0 / 0.566 GB, free: 15.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.211/1.347, allocations: 2.71 MB / 0.5686 GB, free: 13.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.003027/1.35, allocations: 195 kB / 0.5688 GB, free: 12.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/3.083, allocations: 0 / 0.5688 GB, free: 12.98 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)