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.0007956/0.0007957, allocations: 92.47 kB / 15.7 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008637/0.0008638, allocations: 177.1 kB / 16.58 MB, free: 6.871 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.26/1.26, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6467/0.6467, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003925, allocations: 8 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001497/0.2034, allocations: 1.177 MB / 0.558 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000606/0.2041, allocations: 419.3 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.2041, allocations: 0 / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.513e-05/0.2042, allocations: 7.938 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.2043, allocations: 23.84 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.2044, allocations: 23.97 kB / 0.5585 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2046, allocations: 79.77 kB / 0.5586 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2047, allocations: 16.17 kB / 0.5586 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2048, allocations: 35.89 kB / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.2049, allocations: 43.83 kB / 0.5587 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.2049, allocations: 4 kB / 0.5587 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.2049, allocations: 4 kB / 0.5587 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.205, allocations: 15.92 kB / 0.5587 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.205, allocations: 37.7 kB / 0.5587 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.2051, allocations: 48.11 kB / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2051, allocations: 0 / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2051, allocations: 0 / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.2051, allocations: 0 / 0.5588 GB, free: 9.703 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.000652/0.2058, allocations: 446.5 kB / 0.5592 GB, free: 9.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2059, allocations: 8.031 kB / 0.5592 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.2059, allocations: 38.56 kB / 0.5592 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.2059, allocations: 7.906 kB / 0.5592 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.2062, allocations: 186.9 kB / 0.5594 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2062, allocations: 8 kB / 0.5594 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2062, allocations: 11.98 kB / 0.5594 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.2065, allocations: 121.6 kB / 0.5596 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2065, allocations: 0 / 0.5596 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.2066, allocations: 7.984 kB / 0.5596 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2066, allocations: 7.938 kB / 0.5596 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.2069, allocations: 103.9 kB / 0.5597 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.2074, allocations: 340.6 kB / 0.56 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.2077, allocations: 118.5 kB / 0.5601 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2079, allocations: 84.94 kB / 0.5602 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2079, allocations: 0 / 0.5602 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.2082, allocations: 135.3 kB / 0.5603 GB, free: 7.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2082, allocations: 0 / 0.5603 GB, free: 7.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006474/0.2088, allocations: 299.2 kB / 0.5606 GB, free: 7.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.2089, allocations: 81.11 kB / 0.5607 GB, free: 7.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.209, allocations: 129.8 kB / 0.5608 GB, free: 7.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.2091, allocations: 29.7 kB / 0.5608 GB, free: 7.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.2091, allocations: 96.03 kB / 0.5609 GB, free: 7.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.2091, allocations: 19.75 kB / 0.5609 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.2092, allocations: 4 kB / 0.5609 GB, free: 7.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2093, allocations: 326.8 kB / 0.5613 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2095, allocations: 71.95 kB / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2096, allocations: 71.94 kB / 0.5614 GB, free: 6.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.2098, allocations: 119.4 kB / 0.5615 GB, free: 6.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.2098, allocations: 7.891 kB / 0.5615 GB, free: 6.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004481/0.2103, allocations: 268.9 kB / 0.5618 GB, free: 6.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.2103, allocations: 67.39 kB / 0.5618 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2104, allocations: 0 / 0.5618 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2104, allocations: 4 kB / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2105, allocations: 19.92 kB / 0.5619 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2105, allocations: 0 / 0.5619 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2106, allocations: 31.97 kB / 0.5619 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2107, allocations: 8 kB / 0.5619 GB, free: 6.199 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.2108, allocations: 152.2 kB / 0.562 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.2108, allocations: 11.86 kB / 0.5621 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.2109, allocations: 8.375 kB / 0.5621 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2109, allocations: 4 kB / 0.5621 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2109, allocations: 4.25 kB / 0.5621 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2109, allocations: 0 / 0.5621 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.211, allocations: 201.7 kB / 0.5623 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.211, allocations: 0 / 0.5623 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.2111, allocations: 23.88 kB / 0.5623 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2111, allocations: 0 / 0.5623 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2111, allocations: 3.984 kB / 0.5623 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2112, allocations: 4 kB / 0.5623 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2112, allocations: 0 / 0.5623 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.2116, allocations: 262.6 kB / 0.5625 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.2117, allocations: 88.95 kB / 0.5626 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.2117, allocations: 7.953 kB / 0.5626 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2118, allocations: 31.97 kB / 0.5627 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.212, allocations: 31.95 kB / 0.5627 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.212, allocations: 4 kB / 0.5627 GB, free: 5.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.212, allocations: 101.7 kB / 0.5628 GB, free: 5.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.212, allocations: 0 / 0.5628 GB, free: 5.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.2122, allocations: 28 kB / 0.5628 GB, free: 5.145 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007265/0.213, allocations: 0.7982 MB / 0.5636 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.2134, allocations: 282.7 kB / 0.5639 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2135, allocations: 0 / 0.5639 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.2137, allocations: 147.3 kB / 0.564 GB, free: 3.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.2139, allocations: 23.88 kB / 0.564 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.2152, allocations: 0.7822 MB / 0.5648 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2154, allocations: 0.6887 MB / 0.5655 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.2155, allocations: 20.16 kB / 0.5655 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.2155, allocations: 11.44 kB / 0.5655 GB, free: 2.25 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2156, allocations: 3.938 kB / 0.5655 GB, free: 2.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2276, allocations: 2.515 MB / 0.568 GB, free: 15.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.2278, allocations: 179.8 kB / 0.5681 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.878, allocations: 4 kB / 0.5681 GB, free: 15.66 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/linux/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) Environment - environmentSimulation: