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.001206/0.001206, allocations: 100.4 kB / 16.4 MB, free: 6.441 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.001064/0.001064, allocations: 199.8 kB / 17.34 MB, free: 5.742 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6513/0.6513, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 62.36 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1148, allocations: 76.17 MB / 0.6315 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002917/0.1177, allocations: 1.476 MB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.1185, allocations: 454.9 kB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.1186, allocations: 4 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.663e-05/0.1187, allocations: 3.938 kB / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.1188, allocations: 19.86 kB / 0.6334 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.119, allocations: 43.88 kB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1191, allocations: 91.83 kB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.1192, allocations: 20.11 kB / 0.6336 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1193, allocations: 51.83 kB / 0.6336 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.1194, allocations: 39.83 kB / 0.6337 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1195, allocations: 8 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.918e-05/0.1195, allocations: 8 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.1195, allocations: 11.98 kB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.1196, allocations: 39.8 kB / 0.6337 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1197, allocations: 86.56 kB / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1197, allocations: 0 / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1197, allocations: 0 / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1198, allocations: 0 / 0.6338 GB, free: 2.586 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.0006199/0.1204, allocations: 451.4 kB / 0.6343 GB, free: 2.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1204, allocations: 8.031 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1205, allocations: 42.73 kB / 0.6343 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.1205, allocations: 12.84 kB / 0.6343 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1207, allocations: 188.2 kB / 0.6345 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1207, allocations: 4.375 kB / 0.6345 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1207, allocations: 12.36 kB / 0.6345 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.121, allocations: 117.5 kB / 0.6346 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.121, allocations: 0 / 0.6346 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1211, allocations: 8 kB / 0.6346 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1211, allocations: 0 / 0.6346 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.1213, allocations: 91.91 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.1219, allocations: 332.7 kB / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1222, allocations: 102.5 kB / 0.6351 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1224, allocations: 76.88 kB / 0.6352 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1224, allocations: 0 / 0.6352 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.1227, allocations: 123.3 kB / 0.6353 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1227, allocations: 3.938 kB / 0.6353 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006476/0.1233, allocations: 271.2 kB / 0.6356 GB, free: 0.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1234, allocations: 89.09 kB / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.1235, allocations: 133.8 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1235, allocations: 33.64 kB / 0.6358 GB, free: 304 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.1236, allocations: 99.98 kB / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1236, allocations: 19.8 kB / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.1237, allocations: 25.72 kB / 0.636 GB, free: 148 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.1238, allocations: 326.8 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.124, allocations: 63.95 kB / 0.6363 GB, free: 15.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1241, allocations: 67.95 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.1244, allocations: 186.1 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1244, allocations: 0 / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004359/0.1249, allocations: 261 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.1249, allocations: 71.33 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1249, allocations: 4 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.125, allocations: 0 / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1251, allocations: 11.98 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1251, allocations: 0 / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1252, allocations: 23.97 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.1253, allocations: 12.03 kB / 0.637 GB, free: 15.08 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.0001042/0.1254, allocations: 151.5 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1254, allocations: 19.89 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.1254, allocations: 8.375 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1254, allocations: 0 / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1254, allocations: 4 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1255, allocations: 0 / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1256, allocations: 197.5 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1256, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.1257, allocations: 11.98 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1257, allocations: 4 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1257, allocations: 0 / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1257, allocations: 0 / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1257, allocations: 11.94 kB / 0.6373 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.1262, allocations: 242.6 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.1262, allocations: 89 kB / 0.6377 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1263, allocations: 8 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1264, allocations: 19.98 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1265, allocations: 31.95 kB / 0.6377 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1265, allocations: 8 kB / 0.6377 GB, free: 14.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.014e-05/0.1266, allocations: 106 kB / 0.6378 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1266, allocations: 0 / 0.6378 GB, free: 14.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002015/0.1268, allocations: 28 kB / 0.6379 GB, free: 14.05 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.0006513/0.1275, allocations: 0.7858 MB / 0.6386 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.1279, allocations: 262.7 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1279, allocations: 0 / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.1281, allocations: 139.3 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.1284, allocations: 15.98 kB / 0.639 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1303, allocations: 1.743 MB / 0.6407 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1306, allocations: 0.6962 MB / 0.6414 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.1306, allocations: 15.97 kB / 0.6414 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.1307, allocations: 19.44 kB / 0.6414 GB, free: 10.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1307, allocations: 0 / 0.6414 GB, free: 10.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.1478, allocations: 3.082 MB / 0.6444 GB, free: 7.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.773, allocations: 8.625 kB / 0.6445 GB, free: 7.195 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)