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.001407/0.001407, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 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.001814/0.001814, allocations: 210.8 kB / 23.02 MB, free: 2.965 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 1.016/1.016, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.96/1.96, allocations: 0.5046 GB / 0.8104 GB, free: 2.758 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.0009423/0.0009423, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.737, allocations: 180 MB / 1.352 GB, free: 1.688 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002218/0.7392, allocations: 1.535 MB / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.7399, allocations: 486.8 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.7399, allocations: 0 / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.74, allocations: 3.938 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.7401, allocations: 15.8 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.7404, allocations: 39.95 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.7405, allocations: 87.7 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.7406, allocations: 11.98 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.7408, allocations: 51.83 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.7409, allocations: 35.84 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.7409, allocations: 8 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.741, allocations: 8 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.741, allocations: 15.92 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.7411, allocations: 27.86 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.7412, allocations: 81.89 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7412, allocations: 11.94 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7412, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.7412, allocations: 3.938 kB / 1.355 GB, free: 15.27 MB / 1.042 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.0005028/0.7417, allocations: 369.4 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7418, allocations: 16.92 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.7418, allocations: 38.73 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.7419, allocations: 20.88 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.7421, allocations: 130.4 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.7421, allocations: 4.375 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.7421, allocations: 12.36 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.7423, allocations: 123.4 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7424, allocations: 0 / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7424, allocations: 12 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7424, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.7425, allocations: 97.62 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.7429, allocations: 295.8 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.7434, allocations: 108.2 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.319e-05/0.7434, allocations: 82.64 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.7435, allocations: 0 / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.7437, allocations: 129 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.7437, allocations: 0 / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0003834/0.7441, allocations: 278.6 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.7441, allocations: 85.09 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.7442, allocations: 133.7 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.7442, allocations: 33.7 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.7442, allocations: 96.09 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.7443, allocations: 19.78 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.7443, allocations: 33.66 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.7444, allocations: 322.8 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.7445, allocations: 107.4 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.7446, allocations: 107.4 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.7447, allocations: 170 kB / 1.357 GB, free: 12.2 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7447, allocations: 0 / 1.357 GB, free: 12.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002552/0.745, allocations: 272.3 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.745, allocations: 65.59 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.745, allocations: 4 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.745, allocations: 0 / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.7451, allocations: 15.97 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.7451, allocations: 4 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.7452, allocations: 15.92 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.7452, allocations: 4 kB / 1.358 GB, free: 11.79 MB / 1.042 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 8.147e-05/0.7453, allocations: 155.5 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.7453, allocations: 7.953 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.7453, allocations: 16.72 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7453, allocations: 0 / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7453, allocations: 0 / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7453, allocations: 3.938 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.7457, allocations: 432.8 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7457, allocations: 0 / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.7457, allocations: 11.98 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7457, allocations: 4 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.7457, allocations: 8 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.7457, allocations: 3.938 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7457, allocations: 0 / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.746, allocations: 294.8 kB / 1.359 GB, free: 10.76 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.746, allocations: 7.953 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.746, allocations: 7.984 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.7461, allocations: 15.92 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.7462, allocations: 19.97 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.7462, allocations: 12 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.7462, allocations: 99.36 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7462, allocations: 7.938 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001571/0.7464, allocations: 19.98 kB / 1.359 GB, free: 10.57 MB / 1.042 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.00044/0.7468, allocations: 0.8328 MB / 1.36 GB, free: 9.703 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.7471, allocations: 303.8 kB / 1.36 GB, free: 9.363 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7471, allocations: 0 / 1.36 GB, free: 9.363 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.7472, allocations: 141 kB / 1.36 GB, free: 9.207 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.7474, allocations: 11.94 kB / 1.36 GB, free: 9.195 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.749, allocations: 1.975 MB / 1.362 GB, free: 7.07 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.7491, allocations: 83.31 kB / 1.362 GB, free: 6.969 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.297e-05/0.7491, allocations: 15.92 kB / 1.362 GB, free: 6.953 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.7492, allocations: 27.42 kB / 1.362 GB, free: 6.926 MB / 1.042 GB Notification: Performance of SimCode: time 7.11e-07/0.7492, allocations: 0 / 1.362 GB, free: 6.926 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08414/0.8333, allocations: 3.172 MB / 1.365 GB, free: 3.914 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.798, allocations: 15.69 kB / 1.365 GB, free: 3.906 MB / 1.042 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: 12.677223232574761]