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.001306/0.001306, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.001378/0.001378, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7793/0.7793, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 65.53 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1447, allocations: 76.18 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002639/0.1474, allocations: 1.462 MB / 0.633 GB, free: 3.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.1482, allocations: 462.9 kB / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.1483, allocations: 4 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.1485, allocations: 3.938 kB / 0.6334 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.1485, allocations: 11.86 kB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1488, allocations: 43.88 kB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.149, allocations: 91.83 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1491, allocations: 16.17 kB / 0.6336 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1493, allocations: 47.78 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.1494, allocations: 43.88 kB / 0.6337 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.1494, allocations: 11.94 kB / 0.6337 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.1494, allocations: 12 kB / 0.6337 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1495, allocations: 15.92 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.1496, allocations: 39.8 kB / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1497, allocations: 86.56 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1498, allocations: 0 / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1498, allocations: 0 / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1498, allocations: 0 / 0.6338 GB, free: 2.605 MB / 478.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.0007379/0.1505, allocations: 451.4 kB / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1506, allocations: 12.03 kB / 0.6343 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.1506, allocations: 34.75 kB / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1507, allocations: 16.83 kB / 0.6343 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1509, allocations: 188.2 kB / 0.6345 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1509, allocations: 4.375 kB / 0.6345 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1509, allocations: 4.375 kB / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.1513, allocations: 121.5 kB / 0.6346 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1513, allocations: 0 / 0.6346 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1513, allocations: 4 kB / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1513, allocations: 4 kB / 0.6346 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1517, allocations: 91.86 kB / 0.6347 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.1522, allocations: 332.7 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1525, allocations: 102.5 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.1527, allocations: 72.94 kB / 0.6352 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1528, allocations: 0 / 0.6352 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.1531, allocations: 127.2 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 3.627e-06/0.1531, allocations: 4 kB / 0.6353 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007369/0.1539, allocations: 271.2 kB / 0.6356 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.1539, allocations: 89.09 kB / 0.6357 GB, free: 0.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.154, allocations: 128.2 kB / 0.6358 GB, free: 376 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1541, allocations: 29.7 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.1541, allocations: 103.9 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1542, allocations: 19.81 kB / 0.6359 GB, free: 212 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.1542, allocations: 33.7 kB / 0.636 GB, free: 172 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1544, allocations: 326.8 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1546, allocations: 63.89 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1548, allocations: 67.95 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.1552, allocations: 185.9 kB / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1552, allocations: 0 / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005162/0.1557, allocations: 260.8 kB / 0.6368 GB, free: 15.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.1558, allocations: 63.41 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1558, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1558, allocations: 3.984 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1559, allocations: 15.98 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1559, allocations: 4 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1561, allocations: 19.98 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.1561, allocations: 12.17 kB / 0.637 GB, free: 15.11 MB / 494.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.000109/0.1563, allocations: 147.5 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1563, allocations: 11.91 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.1563, allocations: 16.34 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1563, allocations: 4 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1563, allocations: 4 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1564, allocations: 4 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1565, allocations: 197.5 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1565, allocations: 0 / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.1566, allocations: 15.92 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1566, allocations: 4 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1566, allocations: 4 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1566, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1566, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.1572, allocations: 250.6 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.1573, allocations: 85.02 kB / 0.6377 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1573, allocations: 0 / 0.6377 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1574, allocations: 23.97 kB / 0.6377 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.1576, allocations: 35.95 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1576, allocations: 4 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.1577, allocations: 109.9 kB / 0.6378 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1577, allocations: 3.938 kB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1579, allocations: 24 kB / 0.6379 GB, free: 14.07 MB / 494.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.0007794/0.1587, allocations: 0.7857 MB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.1592, allocations: 270.6 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1592, allocations: 0 / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.1595, allocations: 131.4 kB / 0.639 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1597, allocations: 15.98 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.162, allocations: 1.742 MB / 0.6407 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.1622, allocations: 0.6885 MB / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.1623, allocations: 12 kB / 0.6414 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.1624, allocations: 23.42 kB / 0.6414 GB, free: 10.21 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1624, allocations: 0 / 0.6414 GB, free: 10.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.1811, allocations: 3.089 MB / 0.6444 GB, free: 7.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.75, allocations: 12.73 kB / 0.6445 GB, free: 7.215 MB / 494.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)