Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001873/0.001873, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002379/0.002379, allocations: 218 kB / 23.03 MB, free: 4.922 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.147/3.147, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002038/0.002038, allocations: 69.41 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003082/0.3153, allocations: 1.532 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3164, allocations: 498.8 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.3164, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.872e-05/0.3165, allocations: 3.938 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.3166, allocations: 11.86 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3169, allocations: 47.88 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3171, allocations: 91.64 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3172, allocations: 8.281 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3174, allocations: 55.77 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.3175, allocations: 39.91 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3175, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.3175, allocations: 11.94 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.3176, allocations: 15.98 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.3177, allocations: 31.84 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3178, allocations: 83.58 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3178, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3178, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3178, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007177/0.3186, allocations: 381.4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3186, allocations: 12.03 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.225e-05/0.3186, allocations: 192 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.3186, allocations: 34.75 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.3188, allocations: 16.88 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3191, allocations: 132.6 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3191, allocations: 12.38 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3191, allocations: 4.375 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3194, allocations: 135.2 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3194, allocations: 3.984 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3195, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3195, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.3198, allocations: 97.64 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.3204, allocations: 291.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.3208, allocations: 108.2 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3209, allocations: 78.64 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3209, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.3213, allocations: 137 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3213, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006815/0.322, allocations: 274.6 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.322, allocations: 85.11 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3221, allocations: 143.4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3222, allocations: 29.64 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.3222, allocations: 96.12 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.3223, allocations: 19.86 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.3223, allocations: 25.7 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3225, allocations: 322.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.3227, allocations: 103.4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.3229, allocations: 103.4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.3232, allocations: 173.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3232, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005065/0.3237, allocations: 272.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.3238, allocations: 63.39 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3238, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3238, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3239, allocations: 15.98 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3239, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3241, allocations: 27.81 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3241, allocations: 4 kB / 1.332 GB, free: 11.58 MB / 1.029 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 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001334/0.3243, allocations: 147.5 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.3243, allocations: 15.95 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.3243, allocations: 8.719 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3243, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3243, allocations: 288 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.3243, allocations: 11.92 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.3249, allocations: 417 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.325, allocations: 7.938 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.325, allocations: 15.98 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.325, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3251, allocations: 3.938 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3251, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3251, allocations: 3.984 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.3255, allocations: 298.8 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.3256, allocations: 15.94 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3256, allocations: 3.938 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3257, allocations: 23.92 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.3258, allocations: 23.97 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3259, allocations: 3.984 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.823e-05/0.3259, allocations: 105.6 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3259, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002474/0.3262, allocations: 16 kB / 1.333 GB, free: 10.36 MB / 1.029 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,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0007959/0.327, allocations: 0.8372 MB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.3275, allocations: 307.8 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3275, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.3277, allocations: 141 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.328, allocations: 12.75 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3306, allocations: 1.966 MB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.879e-05/0.3307, allocations: 75.33 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.09e-05/0.3308, allocations: 19.92 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/0.3309, allocations: 27.42 kB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3309, allocations: 0 / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3545, allocations: 2.823 MB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.64, allocations: 4.406 kB / 1.339 GB, free: 4.07 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.25833652901929] Failed to read output from testmodel.py, exit status != 0: 11.798022486967966 11.817142592 11.495342115 Calling exit ...