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.000749/0.000749, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.000779/0.000779, allocations: 166.3 kB / 22.56 MB, free: 1.961 MB / 18.57 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 0.849/0.849, allocations: 177.1 MB / 202.9 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.5144/0.5144, allocations: 110.2 MB / 369.6 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 3.984 kB / 0.5474 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.228e-05, allocations: 4.953 kB / 0.5474 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001988/0.00201, allocations: 1.482 MB / 0.5489 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006486/0.002659, allocations: 0.4909 MB / 0.5494 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.002718, allocations: 3.938 kB / 0.5494 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.203e-05/0.00281, allocations: 3.938 kB / 0.5494 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.002861, allocations: 23.78 kB / 0.5494 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.003115, allocations: 43.83 kB / 0.5494 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.003267, allocations: 107.7 kB / 0.5495 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.003366, allocations: 12.19 kB / 0.5496 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.003542, allocations: 63.88 kB / 0.5496 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.003612, allocations: 35.89 kB / 0.5497 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.003633, allocations: 8 kB / 0.5497 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.905e-05/0.003672, allocations: 12 kB / 0.5497 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.003711, allocations: 15.92 kB / 0.5497 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.003763, allocations: 35.91 kB / 0.5497 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.003916, allocations: 99.67 kB / 0.5498 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.003919, allocations: 3.984 kB / 0.5498 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.00392, allocations: 0 / 0.5498 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.003924, allocations: 4 kB / 0.5498 GB, free: 7.336 MB / 0.5105 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.0005015/0.004425, allocations: 373.4 kB / 0.5502 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.004467, allocations: 12.03 kB / 0.5502 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.004495, allocations: 38.73 kB / 0.5502 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.004599, allocations: 16.89 kB / 0.5502 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.004777, allocations: 137.6 kB / 0.5504 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004791, allocations: 8.375 kB / 0.5504 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.004807, allocations: 4.375 kB / 0.5504 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.00505, allocations: 155.8 kB / 0.5505 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005058, allocations: 192 / 0.5505 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.00507, allocations: 7.938 kB / 0.5505 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005075, allocations: 0 / 0.5505 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.005247, allocations: 121.6 kB / 0.5507 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.005627, allocations: 283.9 kB / 0.5509 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.005831, allocations: 132.1 kB / 0.5511 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.00594, allocations: 94.64 kB / 0.5511 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.005956, allocations: 4 kB / 0.5511 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.006163, allocations: 153 kB / 0.5513 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.006164, allocations: 0 / 0.5513 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004598/0.006624, allocations: 342.6 kB / 0.5516 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.006667, allocations: 89.03 kB / 0.5517 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.006762, allocations: 133 kB / 0.5518 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.006777, allocations: 33.7 kB / 0.5519 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.006823, allocations: 88.12 kB / 0.5519 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.006837, allocations: 19.84 kB / 0.552 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.006881, allocations: 33.7 kB / 0.552 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.006959, allocations: 334.7 kB / 0.5523 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.007086, allocations: 119.4 kB / 0.5524 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.007199, allocations: 123.3 kB / 0.5526 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.00738, allocations: 185.9 kB / 0.5527 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007382, allocations: 0 / 0.5527 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004355/0.007817, allocations: 324.2 kB / 0.553 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.007858, allocations: 67.39 kB / 0.5531 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.007863, allocations: 0 / 0.5531 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.007875, allocations: 0 / 0.5531 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.007949, allocations: 15.98 kB / 0.5531 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.007955, allocations: 160 / 0.5531 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.008029, allocations: 23.97 kB / 0.5531 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.008041, allocations: 7.984 kB / 0.5531 GB, free: 3.582 MB / 0.5105 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 8.643e-05/0.008128, allocations: 167.4 kB / 0.5533 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.008141, allocations: 11.94 kB / 0.5533 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.008165, allocations: 12.78 kB / 0.5533 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008168, allocations: 0 / 0.5533 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.008171, allocations: 0 / 0.5533 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.008174, allocations: 0 / 0.5533 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.00827, allocations: 156.7 kB / 0.5535 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.008272, allocations: 0 / 0.5535 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.008312, allocations: 15.98 kB / 0.5535 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008315, allocations: 4 kB / 0.5535 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.008326, allocations: 4 kB / 0.5535 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.008327, allocations: 0 / 0.5535 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008328, allocations: 0 / 0.5535 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.008617, allocations: 276.6 kB / 0.5538 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.00864, allocations: 15.89 kB / 0.5538 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.00866, allocations: 8.062 kB / 0.5538 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.133e-05/0.008722, allocations: 19.97 kB / 0.5538 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.00883, allocations: 43.91 kB / 0.5539 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.008841, allocations: 3.984 kB / 0.5539 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.008887, allocations: 103.3 kB / 0.554 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.008887, allocations: 0 / 0.554 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001455/0.009033, allocations: 20 kB / 0.554 GB, free: 2.645 MB / 0.5105 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.0004747/0.009507, allocations: 0.807 MB / 0.5548 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.009843, allocations: 359.7 kB / 0.5551 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009844, allocations: 0 / 0.5551 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.009983, allocations: 157 kB / 0.5553 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.01015, allocations: 15.94 kB / 0.5553 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.01172, allocations: 2.041 MB / 0.5573 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.01177, allocations: 75.33 kB / 0.5573 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.01182, allocations: 15.98 kB / 0.5573 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.01187, allocations: 20.5 kB / 0.5574 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/0.01187, allocations: 0 / 0.5574 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.03049, allocations: 3.874 MB / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.804, allocations: 3.109 kB / 0.5612 GB, free: 11.17 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.216164815239608] Failed to read output from testmodel.py, exit status != 0: 6.8864314910024405 6.902390679 6.896261628 Calling exit ...