Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 118.6 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9204/0.9204, allocations: 145 MB / 454.5 MB, free: 10.02 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.42 kB / 0.6287 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1473, allocations: 87.84 MB / 0.7144 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002942/0.1502, allocations: 1.501 MB / 0.7159 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1513, allocations: 0.526 MB / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.1514, allocations: 0 / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.698e-05/0.1515, allocations: 7.922 kB / 0.7164 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.1516, allocations: 15.88 kB / 0.7164 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1518, allocations: 47.86 kB / 0.7165 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.152, allocations: 99.7 kB / 0.7166 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.1521, allocations: 12.17 kB / 0.7166 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1523, allocations: 63.83 kB / 0.7167 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.1524, allocations: 35.83 kB / 0.7167 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1524, allocations: 8 kB / 0.7167 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.1525, allocations: 12 kB / 0.7167 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1525, allocations: 19.92 kB / 0.7167 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.1526, allocations: 39.84 kB / 0.7168 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1528, allocations: 91.91 kB / 0.7169 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1528, allocations: 0 / 0.7169 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1528, allocations: 0 / 0.7169 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.1528, allocations: 0 / 0.7169 GB, free: 9.277 MB / 0.5294 GB 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.0007579/0.1535, allocations: 462.5 kB / 0.7173 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1536, allocations: 8.031 kB / 0.7173 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.659e-05/0.1536, allocations: 4.188 kB / 0.7173 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.1536, allocations: 38.69 kB / 0.7173 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1538, allocations: 20.88 kB / 0.7174 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1541, allocations: 194.6 kB / 0.7176 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1541, allocations: 8.375 kB / 0.7176 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.1541, allocations: 16.12 kB / 0.7176 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.1544, allocations: 109.6 kB / 0.7177 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1544, allocations: 0 / 0.7177 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1545, allocations: 8 kB / 0.7177 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1545, allocations: 0 / 0.7177 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.1548, allocations: 91.86 kB / 0.7178 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.1554, allocations: 324.7 kB / 0.7181 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.1557, allocations: 98.5 kB / 0.7182 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.1559, allocations: 64.94 kB / 0.7182 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1559, allocations: 4 kB / 0.7182 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.1563, allocations: 135.2 kB / 0.7184 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1563, allocations: 0 / 0.7184 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007763/0.157, allocations: 279.2 kB / 0.7186 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.1571, allocations: 85.09 kB / 0.7187 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1572, allocations: 130.1 kB / 0.7188 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1573, allocations: 25.7 kB / 0.7189 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.1573, allocations: 96.17 kB / 0.719 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1574, allocations: 27.81 kB / 0.719 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.1574, allocations: 29.72 kB / 0.719 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1576, allocations: 322.8 kB / 0.7193 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1578, allocations: 67.95 kB / 0.7194 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.158, allocations: 71.89 kB / 0.7195 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1584, allocations: 177.9 kB / 0.7196 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1584, allocations: 0 / 0.7196 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006193/0.159, allocations: 268.8 kB / 0.7199 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.1591, allocations: 63.39 kB / 0.7199 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1591, allocations: 4 kB / 0.72 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1591, allocations: 0 / 0.72 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1592, allocations: 11.98 kB / 0.72 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1592, allocations: 0 / 0.72 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1594, allocations: 31.91 kB / 0.72 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1594, allocations: 4 kB / 0.72 GB, free: 5.758 MB / 0.5294 GB 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.0001807/0.1596, allocations: 155.5 kB / 0.7201 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1596, allocations: 11.95 kB / 0.7202 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.1596, allocations: 8.812 kB / 0.7202 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1596, allocations: 3.938 kB / 0.7202 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1596, allocations: 4 kB / 0.7202 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1596, allocations: 3.938 kB / 0.7202 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1598, allocations: 185.6 kB / 0.7204 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1598, allocations: 0 / 0.7204 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.1599, allocations: 19.98 kB / 0.7204 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1599, allocations: 0 / 0.7204 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1599, allocations: 11.92 kB / 0.7204 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1599, allocations: 0 / 0.7204 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1599, allocations: 4 kB / 0.7204 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.1605, allocations: 246.9 kB / 0.7206 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.1605, allocations: 93 kB / 0.7207 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1606, allocations: 7.984 kB / 0.7207 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1607, allocations: 23.97 kB / 0.7207 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.1608, allocations: 31.95 kB / 0.7208 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1608, allocations: 7.938 kB / 0.7208 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.348e-05/0.1609, allocations: 101 kB / 0.7209 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1609, allocations: 0 / 0.7209 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000212/0.1611, allocations: 28 kB / 0.7209 GB, free: 4.719 MB / 0.5294 GB 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.0008705/0.162, allocations: 0.7819 MB / 0.7217 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.1625, allocations: 258.7 kB / 0.7219 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1626, allocations: 0 / 0.7219 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.1628, allocations: 127.3 kB / 0.722 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.163, allocations: 19.92 kB / 0.7221 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.1658, allocations: 1.767 MB / 0.7238 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1662, allocations: 0.6923 MB / 0.7245 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.251e-05/0.1662, allocations: 11.98 kB / 0.7245 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.1663, allocations: 23.42 kB / 0.7245 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.1663, allocations: 4 kB / 0.7245 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.1898, allocations: 3.118 MB / 0.7275 GB, free: 13.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.322, allocations: 7.984 kB / 0.7275 GB, free: 13.87 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.989335594000295] Failed to read output from testmodel.py, exit status != 0: 8.443344100029208 8.459198682 8.303423559 Calling exit ...