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.001221/0.001225, allocations: 105.8 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.216/1.216, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7011/0.7011, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2598, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002295/0.2622, allocations: 1.465 MB / 0.5687 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006308/0.2628, allocations: 467.8 kB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.2629, allocations: 1 kB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.3e-05/0.2629, allocations: 4.922 kB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.263, allocations: 14.19 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.2632, allocations: 37.7 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2633, allocations: 99.72 kB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.2634, allocations: 13.2 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2636, allocations: 49.7 kB / 0.5694 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.2636, allocations: 42.98 kB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2637, allocations: 7.938 kB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.2637, allocations: 7.938 kB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.2637, allocations: 20.33 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.2638, allocations: 36.12 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.2639, allocations: 85.91 kB / 0.5695 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2639, allocations: 1.531 kB / 0.5695 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2639, allocations: 0 / 0.5695 GB, free: 31.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.264, allocations: 3.938 kB / 0.5695 GB, free: 31.21 MB / 446.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.0005306/0.2645, allocations: 451.8 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2645, allocations: 13.66 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.2646, allocations: 36.59 kB / 0.57 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.2646, allocations: 14.19 kB / 0.57 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2647, allocations: 186.9 kB / 0.5702 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2647, allocations: 5.688 kB / 0.5702 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.2648, allocations: 6.656 kB / 0.5702 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.2651, allocations: 118.1 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2651, allocations: 0 / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2651, allocations: 4.812 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2651, allocations: 1.188 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.2654, allocations: 91.09 kB / 0.5704 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.2658, allocations: 337.1 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.2661, allocations: 105.8 kB / 0.5709 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.2663, allocations: 71.97 kB / 0.5709 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2663, allocations: 2.062 kB / 0.5709 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.2666, allocations: 125.6 kB / 0.571 GB, free: 30 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.2666, allocations: 0 / 0.571 GB, free: 30 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006413/0.2673, allocations: 277.8 kB / 0.5713 GB, free: 29.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2673, allocations: 87.08 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.2674, allocations: 132.8 kB / 0.5715 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2674, allocations: 31.95 kB / 0.5716 GB, free: 29.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.2674, allocations: 93.89 kB / 0.5716 GB, free: 29.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2675, allocations: 14.08 kB / 0.5717 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.2675, allocations: 31.12 kB / 0.5717 GB, free: 29.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.707e-05/0.2676, allocations: 324 kB / 0.572 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.2677, allocations: 67.73 kB / 0.5721 GB, free: 29.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2679, allocations: 67.78 kB / 0.5721 GB, free: 29.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.2682, allocations: 185.9 kB / 0.5723 GB, free: 29.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2682, allocations: 0.75 kB / 0.5723 GB, free: 29.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004324/0.2687, allocations: 261.9 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.2687, allocations: 68.89 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2687, allocations: 1.188 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2688, allocations: 5.109 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2689, allocations: 15.42 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2689, allocations: 4.469 kB / 0.5726 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.269, allocations: 25.78 kB / 0.5727 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.269, allocations: 8.328 kB / 0.5727 GB, free: 28.82 MB / 446.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 (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.617e-05/0.2691, allocations: 156.9 kB / 0.5728 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.2692, allocations: 9.719 kB / 0.5728 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.2692, allocations: 11.86 kB / 0.5728 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2692, allocations: 1.156 kB / 0.5728 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2692, allocations: 1.781 kB / 0.5728 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2692, allocations: 1.859 kB / 0.5729 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.593e-05/0.2693, allocations: 196.1 kB / 0.573 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2693, allocations: 0.5625 kB / 0.573 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.2694, allocations: 19.72 kB / 0.5731 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2694, allocations: 0 / 0.5731 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2694, allocations: 7.328 kB / 0.5731 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2694, allocations: 0 / 0.5731 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2694, allocations: 2.266 kB / 0.5731 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.2699, allocations: 248.8 kB / 0.5733 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.2699, allocations: 82.98 kB / 0.5734 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.2699, allocations: 3.094 kB / 0.5734 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2701, allocations: 25.48 kB / 0.5734 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.2702, allocations: 38.78 kB / 0.5734 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2702, allocations: 3.312 kB / 0.5734 GB, free: 28.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.2702, allocations: 102.8 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2702, allocations: 0.625 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.2704, allocations: 26.28 kB / 0.5736 GB, free: 28.11 MB / 446.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 (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.0005579/0.271, allocations: 0.7796 MB / 0.5743 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.2714, allocations: 269.8 kB / 0.5746 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2715, allocations: 1.094 kB / 0.5746 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.2717, allocations: 139.9 kB / 0.5747 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.2719, allocations: 15.23 kB / 0.5747 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2737, allocations: 1.747 MB / 0.5764 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.2738, allocations: 0.6891 MB / 0.5771 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.2738, allocations: 8.406 kB / 0.5771 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.2739, allocations: 25.73 kB / 0.5772 GB, free: 25.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2739, allocations: 0.5938 kB / 0.5772 GB, free: 25.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.47/1.744, allocations: 2.972 MB / 0.5801 GB, free: 24.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/14.33, allocations: 13.48 kB / 0.5801 GB, free: 24.5 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/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)