Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008583/0.0008583, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.0008687/0.0008687, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.8807/0.8807, 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/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.816/1.816, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.417e-05, allocations: 13.59 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001715/0.00173, allocations: 1.534 MB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.002358, allocations: 490.7 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.002421, allocations: 3.938 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.002521, allocations: 7.922 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.002564, allocations: 15.86 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.002801, allocations: 43.83 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.002927, allocations: 83.75 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.003019, allocations: 12 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.003171, allocations: 59.81 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.003233, allocations: 39.89 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.003252, allocations: 4 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.003289, allocations: 11.94 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.003323, allocations: 19.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.003363, allocations: 19.92 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.003492, allocations: 87.75 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003494, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003495, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.003498, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 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.0004924/0.003991, allocations: 381.4 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.00403, allocations: 13.34 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.004058, allocations: 30.75 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.004161, allocations: 20.88 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.004331, allocations: 133.6 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.004344, allocations: 8.375 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.004358, allocations: 4.375 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.004564, allocations: 123.8 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.004574, allocations: 8.172 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.004585, allocations: 8.125 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.004592, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.004742, allocations: 93.64 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.005139, allocations: 303.7 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.005303, allocations: 108.2 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.005391, allocations: 78.64 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.005406, allocations: 4.031 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.005582, allocations: 129 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.005584, allocations: 0 / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003607/0.005944, allocations: 270.6 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.00598, allocations: 85.11 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.006056, allocations: 133.8 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006069, allocations: 29.7 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.006115, allocations: 107.9 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.006129, allocations: 19.8 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.006166, allocations: 29.7 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.00624, allocations: 322.8 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.00634, allocations: 107.4 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.006434, allocations: 103.4 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.006593, allocations: 162.1 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.006596, allocations: 7.938 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002413/0.006837, allocations: 272.3 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.00687, allocations: 71.39 kB / 1.006 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006874, allocations: 0 / 1.006 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006884, allocations: 0 / 1.006 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.006951, allocations: 15.98 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.006956, allocations: 0 / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.007013, allocations: 15.94 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.007025, allocations: 8 kB / 1.006 GB, free: 7.609 MB / 0.9636 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.423e-05/0.007099, allocations: 155.4 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.007109, allocations: 11.95 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.007131, allocations: 12.78 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007133, allocations: 0 / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.007137, allocations: 0 / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.007141, allocations: 3.984 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.007465, allocations: 421 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007466, allocations: 0 / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.007505, allocations: 15.92 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.007508, allocations: 8 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.007517, allocations: 4 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.007517, allocations: 0 / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007518, allocations: 0 / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.008016, allocations: 298.8 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008027, allocations: 11.89 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.008041, allocations: 4 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.008104, allocations: 11.98 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.008179, allocations: 23.97 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.008189, allocations: 11.94 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.008231, allocations: 101.6 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008231, allocations: 7.938 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001556/0.008386, allocations: 20 kB / 1.007 GB, free: 6.402 MB / 0.9636 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.0003894/0.008776, allocations: 0.825 MB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.009063, allocations: 308.3 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.009065, allocations: 288 / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.009179, allocations: 137.1 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.00937, allocations: 23.11 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.01083, allocations: 1.982 MB / 1.01 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.01088, allocations: 75.33 kB / 1.01 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.01092, allocations: 11.98 kB / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.01097, allocations: 28.48 kB / 1.01 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.01097, allocations: 0 / 1.01 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08891/0.09988, allocations: 3.308 MB / 1.014 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.44, allocations: 14.03 kB / 1.014 GB, free: 15.61 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_fmpy_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.928553310222924]