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.004212/0.004212, allocations: 101.8 kB / 15.88 MB, free: 6.312 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.001163/0.001163, allocations: 195.4 kB / 16.79 MB, free: 6.242 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.164/1.164, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6071/0.6071, allocations: 115.3 MB / 405.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 60.59 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1139, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002417/0.1164, allocations: 1.531 MB / 0.5573 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006805/0.1171, allocations: 459 kB / 0.5578 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.1171, allocations: 4 kB / 0.5578 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.095e-05/0.1172, allocations: 3.938 kB / 0.5578 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.1173, allocations: 19.91 kB / 0.5578 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1175, allocations: 27.91 kB / 0.5578 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.1176, allocations: 87.77 kB / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.1177, allocations: 8.188 kB / 0.5579 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1178, allocations: 55.81 kB / 0.558 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.1179, allocations: 39.83 kB / 0.558 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1179, allocations: 4 kB / 0.558 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.1179, allocations: 4 kB / 0.558 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.118, allocations: 8 kB / 0.558 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.118, allocations: 43.77 kB / 0.5581 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1181, allocations: 72.06 kB / 0.5581 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1181, allocations: 0 / 0.5581 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1182, allocations: 0 / 0.5581 GB, free: 8.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1182, allocations: 0 / 0.5581 GB, free: 8.379 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.0005942/0.1188, allocations: 458.5 kB / 0.5586 GB, free: 7.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1188, allocations: 8.031 kB / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.1188, allocations: 38.75 kB / 0.5586 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.1189, allocations: 8.844 kB / 0.5586 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.119, allocations: 192.2 kB / 0.5588 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1191, allocations: 8.312 kB / 0.5588 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1191, allocations: 12.38 kB / 0.5588 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.1194, allocations: 117.5 kB / 0.5589 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1194, allocations: 0 / 0.5589 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1194, allocations: 3.984 kB / 0.5589 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1194, allocations: 4 kB / 0.5589 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.1197, allocations: 87.92 kB / 0.559 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1202, allocations: 324.8 kB / 0.5593 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1205, allocations: 110.4 kB / 0.5594 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1207, allocations: 72.94 kB / 0.5595 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1207, allocations: 3.938 kB / 0.5595 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.121, allocations: 123.3 kB / 0.5596 GB, free: 6.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.121, allocations: 0 / 0.5596 GB, free: 6.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000643/0.1216, allocations: 279.1 kB / 0.5599 GB, free: 6.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1217, allocations: 85.11 kB / 0.56 GB, free: 6.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.1218, allocations: 134.9 kB / 0.5601 GB, free: 6.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1218, allocations: 29.7 kB / 0.5601 GB, free: 6.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.1219, allocations: 100 kB / 0.5602 GB, free: 5.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1219, allocations: 19.81 kB / 0.5603 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.122, allocations: 33.7 kB / 0.5603 GB, free: 5.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.122, allocations: 318.8 kB / 0.5606 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1222, allocations: 67.95 kB / 0.5607 GB, free: 5.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1224, allocations: 67.94 kB / 0.5607 GB, free: 5.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.1227, allocations: 189.8 kB / 0.5609 GB, free: 5.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1227, allocations: 0 / 0.5609 GB, free: 5.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004613/0.1232, allocations: 248.9 kB / 0.5611 GB, free: 5.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.1233, allocations: 71.39 kB / 0.5612 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1233, allocations: 0 / 0.5612 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1233, allocations: 0 / 0.5612 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1234, allocations: 19.92 kB / 0.5612 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1234, allocations: 0 / 0.5612 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1236, allocations: 19.97 kB / 0.5612 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.1236, allocations: 11.94 kB / 0.5613 GB, free: 4.875 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.0001046/0.1237, allocations: 155.6 kB / 0.5614 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.1237, allocations: 11.84 kB / 0.5614 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.1238, allocations: 12.38 kB / 0.5614 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1238, allocations: 256 / 0.5614 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1238, allocations: 0 / 0.5614 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1238, allocations: 4 kB / 0.5614 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1239, allocations: 197.5 kB / 0.5616 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1239, allocations: 0 / 0.5616 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.124, allocations: 11.98 kB / 0.5616 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.124, allocations: 0 / 0.5616 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.124, allocations: 7.984 kB / 0.5616 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.124, allocations: 4 kB / 0.5616 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.124, allocations: 0 / 0.5616 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.1245, allocations: 250.5 kB / 0.5619 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.1245, allocations: 84.95 kB / 0.562 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1246, allocations: 4 kB / 0.562 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1247, allocations: 27.97 kB / 0.562 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.1248, allocations: 35.95 kB / 0.562 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1248, allocations: 7.938 kB / 0.562 GB, free: 3.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.1249, allocations: 108.5 kB / 0.5621 GB, free: 3.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1249, allocations: 0 / 0.5621 GB, free: 3.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1251, allocations: 20 kB / 0.5622 GB, free: 3.844 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.0006571/0.1258, allocations: 0.7819 MB / 0.5629 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.1262, allocations: 262.7 kB / 0.5632 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1262, allocations: 0 / 0.5632 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.1264, allocations: 143.3 kB / 0.5633 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.1266, allocations: 23.86 kB / 0.5633 GB, free: 2.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1286, allocations: 1.749 MB / 0.565 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.1288, allocations: 0.6944 MB / 0.5657 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.1289, allocations: 7.984 kB / 0.5657 GB, free: 0 / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.129, allocations: 23.48 kB / 0.5657 GB, free: 15.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.129, allocations: 0 / 0.5657 GB, free: 15.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.006/1.135, allocations: 2.605 MB / 0.5683 GB, free: 13.49 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/1.136, allocations: 204 kB / 0.5685 GB, free: 13.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.683, allocations: 0 / 0.5685 GB, free: 13.23 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)