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.001087/0.001087, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001321/0.001321, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8586/0.8586, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.5273/0.5273, allocations: 110.2 MB / 369.4 MB, free: 12.62 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 1.683e-06/1.683e-06, allocations: 0 / 0.5472 GB, free: 8.797 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.952e-05, allocations: 7 kB / 0.5472 GB, free: 8.789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002548/0.002568, allocations: 1.479 MB / 0.5487 GB, free: 7.297 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003581, allocations: 498.7 kB / 0.5492 GB, free: 6.805 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.003645, allocations: 4 kB / 0.5492 GB, free: 6.801 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 8.954e-05/0.003735, allocations: 11.81 kB / 0.5492 GB, free: 6.789 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.003779, allocations: 15.86 kB / 0.5492 GB, free: 6.773 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.004025, allocations: 43.88 kB / 0.5492 GB, free: 6.73 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.004167, allocations: 111.6 kB / 0.5493 GB, free: 6.621 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.004259, allocations: 12.16 kB / 0.5493 GB, free: 6.609 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.004409, allocations: 63.89 kB / 0.5494 GB, free: 6.547 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.004471, allocations: 35.94 kB / 0.5494 GB, free: 6.512 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.004491, allocations: 12 kB / 0.5495 GB, free: 6.5 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.004528, allocations: 8 kB / 0.5495 GB, free: 6.492 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.004564, allocations: 15.92 kB / 0.5495 GB, free: 6.477 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.004609, allocations: 27.92 kB / 0.5495 GB, free: 6.449 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.004753, allocations: 107.7 kB / 0.5496 GB, free: 6.344 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.004756, allocations: 0 / 0.5496 GB, free: 6.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.004758, allocations: 0 / 0.5496 GB, free: 6.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004762, allocations: 0 / 0.5496 GB, free: 6.344 MB / 474.7 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.0005012/0.005263, allocations: 381.4 kB / 0.55 GB, free: 5.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.0053, allocations: 12.03 kB / 0.55 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.005327, allocations: 34.75 kB / 0.55 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.005431, allocations: 20.88 kB / 0.55 GB, free: 5.855 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.005626, allocations: 143.1 kB / 0.5502 GB, free: 5.691 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.005637, allocations: 8.312 kB / 0.5502 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.005653, allocations: 16.36 kB / 0.5502 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.00587, allocations: 147.9 kB / 0.5503 GB, free: 5.512 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.005877, allocations: 192 / 0.5503 GB, free: 5.512 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.005889, allocations: 3.938 kB / 0.5503 GB, free: 5.508 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.005893, allocations: 4 kB / 0.5503 GB, free: 5.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.006058, allocations: 117.6 kB / 0.5505 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.006406, allocations: 283.9 kB / 0.5507 GB, free: 5.062 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.006588, allocations: 132.2 kB / 0.5509 GB, free: 4.918 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.006687, allocations: 98.64 kB / 0.5509 GB, free: 4.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.006698, allocations: 0 / 0.5509 GB, free: 4.812 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.0069, allocations: 161 kB / 0.5511 GB, free: 4.637 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.006901, allocations: 0 / 0.5511 GB, free: 4.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.000418/0.007319, allocations: 330.6 kB / 0.5514 GB, free: 4.289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.007359, allocations: 89.19 kB / 0.5515 GB, free: 4.184 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.007453, allocations: 138.8 kB / 0.5516 GB, free: 4.035 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.007468, allocations: 29.7 kB / 0.5517 GB, free: 4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.007515, allocations: 100.1 kB / 0.5518 GB, free: 3.898 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.00753, allocations: 19.84 kB / 0.5518 GB, free: 3.879 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.007573, allocations: 29.7 kB / 0.5518 GB, free: 3.844 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.007642, allocations: 322.8 kB / 0.5521 GB, free: 3.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.007762, allocations: 119.4 kB / 0.5522 GB, free: 3.391 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.007871, allocations: 139.3 kB / 0.5524 GB, free: 3.242 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.008041, allocations: 177.9 kB / 0.5525 GB, free: 3.047 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008043, allocations: 0 / 0.5525 GB, free: 3.047 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002798/0.008322, allocations: 324.3 kB / 0.5528 GB, free: 2.699 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.008358, allocations: 67.39 kB / 0.5529 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.008362, allocations: 0 / 0.5529 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.008374, allocations: 8 kB / 0.5529 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.008439, allocations: 11.98 kB / 0.5529 GB, free: 2.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.008443, allocations: 0 / 0.5529 GB, free: 2.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.008514, allocations: 27.92 kB / 0.5529 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.008525, allocations: 4 kB / 0.5529 GB, free: 2.57 MB / 474.7 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 7.877e-05/0.008604, allocations: 155.5 kB / 0.5531 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.008617, allocations: 11.95 kB / 0.5531 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.008637, allocations: 8.781 kB / 0.5531 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.008638, allocations: 4 kB / 0.5531 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.008645, allocations: 0 / 0.5531 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008648, allocations: 0 / 0.5531 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.008885, allocations: 156.7 kB / 0.5533 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-07/0.008886, allocations: 0 / 0.5533 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.008921, allocations: 11.98 kB / 0.5533 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.008923, allocations: 7.938 kB / 0.5533 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.008932, allocations: 0 / 0.5533 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.008933, allocations: 0 / 0.5533 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008934, allocations: 4.25 kB / 0.5533 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.009198, allocations: 288.3 kB / 0.5536 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.00921, allocations: 7.891 kB / 0.5536 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.009226, allocations: 4 kB / 0.5536 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.009284, allocations: 23.97 kB / 0.5536 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.009368, allocations: 31.97 kB / 0.5536 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.009378, allocations: 11.92 kB / 0.5536 GB, free: 1.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.009417, allocations: 99.97 kB / 0.5537 GB, free: 1.672 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009417, allocations: 4 kB / 0.5537 GB, free: 1.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.009553, allocations: 24 kB / 0.5538 GB, free: 1.645 MB / 474.7 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.000491/0.01004, allocations: 0.8187 MB / 0.5546 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.0104, allocations: 343.8 kB / 0.5549 GB, free: 412 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.0104, allocations: 0 / 0.5549 GB, free: 412 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.01054, allocations: 165 kB / 0.5551 GB, free: 228 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.01069, allocations: 14.58 kB / 0.5551 GB, free: 216 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.0122, allocations: 2.034 MB / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01225, allocations: 79.31 kB / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.01228, allocations: 11.73 kB / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.01233, allocations: 20.5 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01233, allocations: 0 / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.02711, allocations: 3.886 MB / 0.561 GB, free: 10.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/6.767, allocations: 14.23 kB / 0.561 GB, free: 10.17 MB / 490.7 MB " [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 & /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 sys.exit(0), Time elapsed: 9.055469509214163] Failed to read output from testmodel.py, exit status != 0: 6.847922343760729 6.860696305 6.854124772 Calling exit ...