Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0008495/0.0008495, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009724/0.0009724, allocations: 217.7 kB / 22.25 MB, free: 3.727 MB / 13.93 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.9729/0.9729, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.287/2.287, allocations: 0.5556 GB / 0.8607 GB, free: 30.83 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.59 kB / 1.253 GB, free: 22.64 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 193.3 MB / 1.442 GB, free: 10.84 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002024/0.2838, allocations: 1.543 MB / 1.443 GB, free: 9.293 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.2844, allocations: 0.4915 MB / 1.444 GB, free: 8.797 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.2845, allocations: 0 / 1.444 GB, free: 8.797 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 9.878e-05/0.2846, allocations: 7.875 kB / 1.444 GB, free: 8.789 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.2846, allocations: 19.86 kB / 1.444 GB, free: 8.77 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.2849, allocations: 43.81 kB / 1.444 GB, free: 8.727 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.285, allocations: 79.84 kB / 1.444 GB, free: 8.648 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2851, allocations: 19.98 kB / 1.444 GB, free: 8.629 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2852, allocations: 51.77 kB / 1.444 GB, free: 8.578 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.2853, allocations: 31.84 kB / 1.444 GB, free: 8.547 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2853, allocations: 8 kB / 1.444 GB, free: 8.539 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 3.705e-05/0.2854, allocations: 8 kB / 1.444 GB, free: 8.531 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.2854, allocations: 15.92 kB / 1.444 GB, free: 8.516 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.2855, allocations: 35.84 kB / 1.444 GB, free: 8.48 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2856, allocations: 83.86 kB / 1.444 GB, free: 8.398 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2856, allocations: 0 / 1.444 GB, free: 8.398 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2856, allocations: 0 / 1.444 GB, free: 8.398 MB / 1.12 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2856, allocations: 0 / 1.444 GB, free: 8.398 MB / 1.12 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.0004859/0.2861, allocations: 385.4 kB / 1.444 GB, free: 7.98 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2861, allocations: 8.031 kB / 1.444 GB, free: 7.973 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.2862, allocations: 34.75 kB / 1.445 GB, free: 7.93 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.913e-05/0.2863, allocations: 20.88 kB / 1.445 GB, free: 7.91 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.2864, allocations: 126.4 kB / 1.445 GB, free: 7.762 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.2864, allocations: 4.375 kB / 1.445 GB, free: 7.758 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2864, allocations: 4.375 kB / 1.445 GB, free: 7.754 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2866, allocations: 135.4 kB / 1.445 GB, free: 7.609 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2867, allocations: 3.938 kB / 1.445 GB, free: 7.605 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2867, allocations: 0 / 1.445 GB, free: 7.605 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2867, allocations: 0 / 1.445 GB, free: 7.605 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.2868, allocations: 101.6 kB / 1.445 GB, free: 7.5 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.2872, allocations: 295.7 kB / 1.445 GB, free: 7.168 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2874, allocations: 108.2 kB / 1.445 GB, free: 7.047 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.2874, allocations: 82.64 kB / 1.445 GB, free: 6.957 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.2875, allocations: 0 / 1.445 GB, free: 6.957 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.2876, allocations: 137.1 kB / 1.446 GB, free: 6.805 MB / 1.12 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2876, allocations: 0 / 1.446 GB, free: 6.805 MB / 1.12 GB Notification: Performance of matching and sorting (n=7): time 0.0003635/0.288, allocations: 266.6 kB / 1.446 GB, free: 6.52 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.288, allocations: 81.11 kB / 1.446 GB, free: 6.422 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.2881, allocations: 135.1 kB / 1.446 GB, free: 6.281 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2881, allocations: 25.7 kB / 1.446 GB, free: 6.25 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.2882, allocations: 104 kB / 1.446 GB, free: 6.145 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.2882, allocations: 15.91 kB / 1.446 GB, free: 6.129 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.2882, allocations: 25.7 kB / 1.446 GB, free: 6.098 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.2883, allocations: 322.8 kB / 1.446 GB, free: 5.773 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.2884, allocations: 107.4 kB / 1.447 GB, free: 5.656 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.2885, allocations: 107.3 kB / 1.447 GB, free: 5.539 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2887, allocations: 169.9 kB / 1.447 GB, free: 5.352 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2887, allocations: 0 / 1.447 GB, free: 5.352 MB / 1.12 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002427/0.2889, allocations: 276.3 kB / 1.447 GB, free: 5.051 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.2889, allocations: 61.28 kB / 1.447 GB, free: 4.98 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2889, allocations: 0 / 1.447 GB, free: 4.98 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.289, allocations: 3.984 kB / 1.447 GB, free: 4.977 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.289, allocations: 15.98 kB / 1.447 GB, free: 4.961 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.289, allocations: 0 / 1.447 GB, free: 4.961 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.2891, allocations: 27.86 kB / 1.447 GB, free: 4.934 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.2891, allocations: 0 / 1.447 GB, free: 4.934 MB / 1.12 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 7.514e-05/0.2892, allocations: 151.5 kB / 1.447 GB, free: 4.77 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.2892, allocations: 11.89 kB / 1.447 GB, free: 4.758 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.2892, allocations: 16.72 kB / 1.447 GB, free: 4.738 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2892, allocations: 0 / 1.447 GB, free: 4.738 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2892, allocations: 4 kB / 1.447 GB, free: 4.734 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2892, allocations: 4.219 kB / 1.447 GB, free: 4.73 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.2895, allocations: 424.9 kB / 1.448 GB, free: 4.254 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2895, allocations: 0 / 1.448 GB, free: 4.254 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.2896, allocations: 23.92 kB / 1.448 GB, free: 4.23 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2896, allocations: 0 / 1.448 GB, free: 4.23 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.2896, allocations: 0 / 1.448 GB, free: 4.23 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2896, allocations: 3.938 kB / 1.448 GB, free: 4.227 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2896, allocations: 4 kB / 1.448 GB, free: 4.223 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.2898, allocations: 302.7 kB / 1.448 GB, free: 3.898 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.2898, allocations: 7.953 kB / 1.448 GB, free: 3.891 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.2898, allocations: 0 / 1.448 GB, free: 3.891 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.2899, allocations: 27.92 kB / 1.448 GB, free: 3.863 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.29, allocations: 23.95 kB / 1.448 GB, free: 3.84 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.29, allocations: 0 / 1.448 GB, free: 3.84 MB / 1.12 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.29, allocations: 107.2 kB / 1.448 GB, free: 3.734 MB / 1.12 GB Notification: Performance of sort global known variables: time 7.1e-08/0.29, allocations: 0 / 1.448 GB, free: 3.734 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001612/0.2902, allocations: 19.95 kB / 1.448 GB, free: 3.715 MB / 1.12 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.0004053/0.2906, allocations: 0.8333 MB / 1.449 GB, free: 2.844 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.2909, allocations: 299.9 kB / 1.449 GB, free: 2.508 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.2909, allocations: 0 / 1.449 GB, free: 2.508 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.291, allocations: 145 kB / 1.449 GB, free: 2.348 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.2912, allocations: 17.34 kB / 1.45 GB, free: 2.332 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2926, allocations: 1.972 MB / 1.451 GB, free: 212 kB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.2926, allocations: 79.58 kB / 1.452 GB, free: 112 kB / 1.12 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.2927, allocations: 19.7 kB / 1.452 GB, free: 92 kB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.2927, allocations: 27.42 kB / 1.452 GB, free: 64 kB / 1.12 GB Notification: Performance of SimCode: time 5.51e-07/0.2927, allocations: 0 / 1.452 GB, free: 64 kB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.3079, allocations: 3.19 MB / 1.455 GB, free: 13.05 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.222, allocations: 8.531 kB / 1.455 GB, free: 13.04 MB / 1.135 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 12.177743086591363]