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.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.001321/0.001321, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001568/0.001568, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.906/0.906, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5572/0.5572, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.5541 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.032e-05, allocations: 3.547 kB / 0.5541 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001957/0.001987, allocations: 1.487 MB / 0.5556 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.002726, allocations: 490.8 kB / 0.5561 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.002788, allocations: 7.938 kB / 0.5561 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.998e-05/0.002878, allocations: 15.88 kB / 0.5561 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.002926, allocations: 11.86 kB / 0.5561 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.003167, allocations: 47.81 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.003314, allocations: 111.7 kB / 0.5562 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003417, allocations: 8.188 kB / 0.5563 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.003586, allocations: 59.89 kB / 0.5563 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.003655, allocations: 35.94 kB / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.003676, allocations: 8 kB / 0.5564 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.022e-05/0.003716, allocations: 12 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.003754, allocations: 23.86 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.003799, allocations: 27.92 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.003946, allocations: 103.7 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003948, allocations: 0 / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003949, allocations: 3.938 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003953, allocations: 0 / 0.5565 GB, free: 392 kB / 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.0005408/0.004494, allocations: 385.6 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.00453, allocations: 8.625 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.004556, allocations: 34.75 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.004658, allocations: 24.88 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.004843, allocations: 139.9 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004854, allocations: 4.375 kB / 0.5571 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.004868, allocations: 4.375 kB / 0.5571 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.005083, allocations: 143.9 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.00509, allocations: 4.125 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.005103, allocations: 7.938 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.005109, allocations: 8 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.005286, allocations: 117.6 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.005667, allocations: 291.8 kB / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.005856, allocations: 128.2 kB / 0.5578 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.005965, allocations: 106.6 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.005977, allocations: 0 / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.006187, allocations: 157 kB / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006188, allocations: 3.938 kB / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004454/0.006633, allocations: 330.6 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.006675, allocations: 85.11 kB / 0.5584 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.006754, allocations: 138 kB / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.006769, allocations: 29.7 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.006816, allocations: 100.1 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.006831, allocations: 15.84 kB / 0.5587 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.006875, allocations: 33.7 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.006955, allocations: 326.8 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.007076, allocations: 119.4 kB / 0.5591 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.007189, allocations: 127.3 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.007375, allocations: 189.9 kB / 0.5594 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.007377, allocations: 0 / 0.5594 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000295/0.007672, allocations: 320.3 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.007708, allocations: 63.39 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007712, allocations: 0 / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.007724, allocations: 0 / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.007795, allocations: 19.98 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.007802, allocations: 4 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.007874, allocations: 19.97 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.007885, allocations: 4 kB / 0.5599 GB, free: 12.61 MB / 0.5261 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 7.914e-05/0.007964, allocations: 159.5 kB / 0.56 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.007976, allocations: 11.89 kB / 0.56 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.007998, allocations: 12.78 kB / 0.56 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007999, allocations: 0 / 0.56 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008004, allocations: 4 kB / 0.56 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008006, allocations: 0 / 0.56 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.008099, allocations: 156.7 kB / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008099, allocations: 0 / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.008136, allocations: 11.98 kB / 0.5602 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.008137, allocations: 0 / 0.5602 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.008153, allocations: 4.25 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008155, allocations: 4 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008156, allocations: 0 / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.008436, allocations: 284.3 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.008448, allocations: 7.953 kB / 0.5605 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.008464, allocations: 7.938 kB / 0.5605 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.008525, allocations: 23.97 kB / 0.5605 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.008612, allocations: 27.97 kB / 0.5605 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.008622, allocations: 11.92 kB / 0.5606 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.008666, allocations: 109.5 kB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.008666, allocations: 0 / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001402/0.008806, allocations: 24 kB / 0.5607 GB, free: 11.68 MB / 0.5261 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.000459/0.009265, allocations: 0.8109 MB / 0.5615 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.009583, allocations: 347.8 kB / 0.5618 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009584, allocations: 0 / 0.5618 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.009723, allocations: 165 kB / 0.562 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.00988, allocations: 18.75 kB / 0.562 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.0114, allocations: 2.038 MB / 0.564 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.465e-05/0.01144, allocations: 75.08 kB / 0.564 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.01149, allocations: 11.98 kB / 0.5641 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.01153, allocations: 24.48 kB / 0.5641 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.01153, allocations: 0 / 0.5641 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.02897, allocations: 3.894 MB / 0.5679 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.688, allocations: 6.953 kB / 0.5679 GB, free: 4.199 MB / 0.5261 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.120410550385714] Failed to read output from testmodel.py, exit status != 0: 6.769436799921095 6.78134651 6.77560667 Calling exit ...